mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 11:56:36 +11:00
Merge branch 'master' of github.com:bartTC/dpaste.de
This commit is contained in:
commit
a46b7b6f5a
1 changed files with 1 additions and 0 deletions
|
@ -5,5 +5,6 @@ class SnippetAdmin(admin.ModelAdmin):
|
||||||
list_display = ('published', 'expires', 'lexer', 'get_absolute_url')
|
list_display = ('published', 'expires', 'lexer', 'get_absolute_url')
|
||||||
date_hierarchy = 'published'
|
date_hierarchy = 'published'
|
||||||
list_filter = ('published',)
|
list_filter = ('published',)
|
||||||
|
raw_id_fields = ('parent',)
|
||||||
|
|
||||||
admin.site.register(Snippet, SnippetAdmin)
|
admin.site.register(Snippet, SnippetAdmin)
|
||||||
|
|
Loading…
Reference in a new issue