mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
Removed an errant print statement
This commit is contained in:
parent
8642bda7f8
commit
d194974635
1 changed files with 0 additions and 1 deletions
|
|
@ -77,7 +77,6 @@ for model, modeladmin in admin.site._registry.items():
|
|||
fields.remove(cat)
|
||||
# if there are any fields left, add them under the categories fieldset
|
||||
if len(fields) > 0:
|
||||
print fields
|
||||
admin.site.unregister(model)
|
||||
admin.site.register(model, type('newadmin', (modeladmin.__class__,), {
|
||||
'fieldsets': fieldsets + (('Categories', {
|
||||
|
|
|
|||
Loading…
Reference in a new issue