Commit 1babafbd authored by Mindiell's avatar Mindiell
Browse files

Contact admin page modified to show more columns and add a search field

parent be3a8ca6
from django.contrib import admin
from import Contact
class ContactAdmin(admin.ModelAdmin):
list_display = ['full_name', 'mail', 'phone', 'twitter']
search_fields = ('first_name', 'last_name'), ContactAdmin)
Supports Markdown
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