parent
a6833026c0
commit
d651e03b12
18 changed files with 196 additions and 58 deletions
14
app/contact/admin.py
Normal file
14
app/contact/admin.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
from django.contrib import admin
|
||||
|
||||
from .models import Contact
|
||||
|
||||
@admin.register(Contact)
|
||||
class FallenBirdAdmin(admin.ModelAdmin):
|
||||
list_display = [
|
||||
"name",
|
||||
"phone",
|
||||
"email",
|
||||
"address",
|
||||
"comment",
|
||||
]
|
||||
list_filter = ("name", "phone", "email", "address", "comment")
|
Loading…
Add table
Add a link
Reference in a new issue