Permalink
Browse files

added some fields to list_display for category admin

  • Loading branch information...
1 parent bb8003f commit 170a5a994b9121171246a839b72684a26f72e704 @mbrochh mbrochh committed Jun 20, 2011
Showing with 2 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 shop_simplecategories/admin.py
View
@@ -5,6 +5,7 @@
.settings
*.coverage
*~
+build/
docs/_build
dist
*egg-info*
@@ -42,6 +42,7 @@ class CategoryAdmin(admin.ModelAdmin):
is_stacked=False
)},
}
+ list_display = ['name', 'slug', 'parent_category', 'order',]
admin.site.register(Category, CategoryAdmin)

0 comments on commit 170a5a9

Please sign in to comment.