diff --git a/pastebin/apps/dpaste/admin.py b/pastebin/apps/dpaste/admin.py index e648b25..bf80cfa 100644 --- a/pastebin/apps/dpaste/admin.py +++ b/pastebin/apps/dpaste/admin.py @@ -5,5 +5,6 @@ class SnippetAdmin(admin.ModelAdmin): list_display = ('published', 'expires', 'lexer', 'get_absolute_url') date_hierarchy = 'published' list_filter = ('published',) + raw_id_fields = ('parent',) admin.site.register(Snippet, SnippetAdmin)