the error #36

yetis opened this Issue Sep 23, 2012 · 5 comments


None yet

5 participants


**/lib/python2.7/site-packages/djangotoolbox/db/", line 28, in init
super(NonrelDatabaseOperations, self).init()
TypeError: init() takes exactly 2 arguments (1 given)


approve, get the same error on openshift / django 1.4


i use a fork of mongodb-engine to fix this django-nonrel/mongodb-engine#153

File "/var/lib/stickshift/851a18425df2477b95b338ed76a607ba/app-root/runtime/lib/python2.7/site-packages/djangotoolbox/db/", line 28, in __init__
    super(NonrelDatabaseOperations, self).__init__()
TypeError: __init__() takes exactly 2 arguments (1 given)

Is there any update on this ticket? Just wondering what the options here are. Is it best to go with django 1.3?

Django and NoSQL member

mongodb-engine doesn't support django 1.4 at this time. so stick with 1.3.


that means we have to stick with old version of django......this error must be resolved with django development version which is 1.7.....still i got this error

super(NonrelDatabaseOperations, self).init()
TypeError: Error when calling the metaclass bases
init() takes exactly 2 arguments (1 given)

Django and NoSQL member

Since mongodb-engine now supports djangos 1.4-1.6, I'm closing this issue. Please open up a new one if you run into similar problems.

@aburgel aburgel closed this Dec 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment