Browse files

changed base class of admin meta

  • Loading branch information...
1 parent 84dd994 commit d8b34b60d7cde001f9157934830bd3abd1ace337 Arvid Paeglit committed Nov 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/admin_helpers.py
View
2 src/admin_helpers.py
@@ -58,7 +58,7 @@ def wrapper(*args, **kwargs):
) + super(ButtonableModelAdmin, self).get_urls()
-class ModelAdminWithForeignKeyLinksMetaclass(MediaDefiningClass):
+class ModelAdminWithForeignKeyLinksMetaclass(type):
def __new__(cls, name, bases, attrs):
new_class = super(ModelAdminWithForeignKeyLinksMetaclass, cls).__new__(cls, name, bases, attrs)

0 comments on commit d8b34b6

Please sign in to comment.