Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
campaign
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
piphone
campaign
Commits
0d5f9d89
Commit
0d5f9d89
authored
Jan 09, 2017
by
okhin
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding the phone to the admin form for contacts
parent
51e8828f
Pipeline
#721
failed with stage
in 1 minute and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
picampaign/contact/admin.py
picampaign/contact/admin.py
+1
-1
No files found.
picampaign/contact/admin.py
View file @
0d5f9d89
...
...
@@ -3,7 +3,7 @@ from django.contrib import admin
from
picampaign.contact.models
import
Contact
,
Phone
class
ContactAdmin
(
admin
.
ModelAdmin
):
list_display
=
[
'full_name'
,
'mail'
,
'twitter'
]
list_display
=
[
'full_name'
,
'mail'
,
'twitter'
,
'phone'
]
search_fields
=
(
'first_name'
,
'last_name'
)
class
PhoneAdmin
(
admin
.
ModelAdmin
):
...
...
okhin
🚴
@okhin
mentioned in commit
eef3abba
·
Jan 09, 2017
mentioned in commit
eef3abba
mentioned in commit eef3abbae7e577a2ade2d64d241be8a854152bfe
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment