Commit 0d5f9d89 authored by okhin's avatar okhin

Adding the phone to the admin form for contacts

parent 51e8828f
Pipeline #721 failed with stage
in 1 minute and 9 seconds
......@@ -3,7 +3,7 @@ from django.contrib import admin
from 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):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment