git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pages now have a custom add form template which notifies the user that they must...
[philo.git]
/
admin.py
diff --git
a/admin.py
b/admin.py
index
74e3d07
..
37939e8
100644
(file)
--- a/
admin.py
+++ b/
admin.py
@@
-102,6
+102,7
@@
class FileAdmin(NodeAdmin):
class PageAdmin(NodeAdmin):
+ add_form_template = 'admin/philo/page/add_form.html'
prepopulated_fields = {'slug': ('title',)}
fieldsets = (
(None, {