Browse files

Fix object.__new__ call with bogus extra arguments

  • Loading branch information...
1 parent cc2c0fa commit 1ddc09bc4e8ec3a483fcbe7b208ab633377f3284 @gthb gthb committed Nov 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 multilingual/admin.py
View
2 multilingual/admin.py
@@ -199,7 +199,7 @@ def multilingual_modeladmin_new(cls, model, admin_site, obj=None):
cls.inlines = type(cls.inlines)((translation_modeladmin,)) + cls.inlines
else:
cls.inlines = [translation_modeladmin]
- return admin.ModelAdmin._original_new_before_dm(cls, model, admin_site, obj)
+ return admin.ModelAdmin._original_new_before_dm(cls)
def install_multilingual_modeladmin_new():

0 comments on commit 1ddc09b

Please sign in to comment.