Closed yetis closed 10 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)
Is there any update on this ticket? Just wondering what the options here are. Is it best to go with django 1.3?
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)
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.
/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)