base.py the error #36

Closed
yetis opened this Issue Sep 23, 2012 · 5 comments

Projects

None yet

5 participants

@yetis

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

@iDevy

approve, get the same error on openshift / django 1.4
requirements.txt:

Django==1.4
git+https://github.com/django-nonrel/django-1.4.git
git+https://github.com/django-nonrel/djangotoolbox.git
git+https://github.com/iDevy/mongodb-engine.git

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/base.py", line 28, in __init__
    super(NonrelDatabaseOperations, self).__init__()
TypeError: __init__() takes exactly 2 arguments (1 given)
@jlark

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

@aburgel
Django and NoSQL member

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

@shashank9487

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)

@aburgel
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