django-nonrel / djangotoolbox

Django tools for building nonrel backends
BSD 3-Clause "New" or "Revised" License
201 stars 124 forks source link

base.py the error #36

Closed yetis closed 10 years ago

yetis commented 12 years ago

/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 commented 11 years ago

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 https://github.com/django-nonrel/mongodb-engine/issues/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 commented 11 years ago

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

aburgel commented 11 years ago

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

shashank9487 commented 11 years ago

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 commented 10 years ago

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.