My favorites
▼
|
Sign in
django-forum
Simple Django Forum Component
Project Home
Wiki
Issues
Source
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
51
attachment: prepopulate.diff
(409 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
Index: admin.py
===================================================================
--- admin.py (revision 31)
+++ admin.py (working copy)
@@ -4,6 +4,7 @@
class ForumAdmin(admin.ModelAdmin):
list_display = ('title', '_parents_repr')
ordering = ['parent', 'title']
+ prepopulated_fields = {"slug": ("title",)}
class SubscriptionAdmin(admin.ModelAdmin):
list_display = ['author','thread']
Powered by
Google Project Hosting