Update web/core/views.py
This commit is contained in:
parent
d718aba3d2
commit
fb3917022c
@ -34,6 +34,19 @@ FIELD_ORDER = [
|
|||||||
("entry_code", "Code"),
|
("entry_code", "Code"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
EXPECTED_HEADERS = [
|
||||||
|
"Subject",
|
||||||
|
"Illustration",
|
||||||
|
"Application",
|
||||||
|
"Scripture",
|
||||||
|
"Source",
|
||||||
|
"Talk Title",
|
||||||
|
"Talk Number",
|
||||||
|
"Code",
|
||||||
|
"Date",
|
||||||
|
"Date Edited",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
def is_admin(user):
|
def is_admin(user):
|
||||||
return user.is_superuser or user.is_staff
|
return user.is_superuser or user.is_staff
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user