Skip to content

Commit

Permalink
Enable django-smuggler app for data import/export from admin
Browse files Browse the repository at this point in the history
  • Loading branch information
lmorchard committed May 27, 2011
1 parent babd637 commit cba49f4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions apps/demos/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@


class SubmissionAdmin(admin.ModelAdmin):
change_list_template = 'smuggler/change_list.html'

list_display = ( 'title', 'creator', 'featured', 'hidden', 'censored', 'tags', 'modified', )
def queryset(self, request):
return Submission.admin_manager
Expand Down
1 change: 1 addition & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ def __new__(self):
'jingo_minify',
'product_details',
'tower',
'smuggler',

# SUMO
#'users',
Expand Down
1 change: 1 addition & 0 deletions urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
(r'^demos/', include('demos.urls')),

# Django admin:
(r'^admin/', include('smuggler.urls')),
(r'^admin/', include(admin.site.urls)),

#(r'^search', include('search.urls')),
Expand Down
2 changes: 1 addition & 1 deletion vendor
Submodule vendor updated 3 files
+3 −0 .gitmodules
+1 −0 src/smuggler
+1 −0 vendor.pth

0 comments on commit cba49f4

Please sign in to comment.