New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tuple settings.INSTALLED_APPS doesn't have an insert attribute #150
Comments
Try changing your settings.INSTALLED_APPS to a list instead of a tuple. I'm a little confused as to why this code exists at all; perhaps it would be better to require that the user include this app in their INSTALLED_APPS instead of monkeypatching it in? |
Guess so to, but why this code exist here? And does the source code still depends on patched django-nonrel? |
when i change INSTALLED_APPS tuple to a list, then i got this error Traceback (most recent call last): |
I got news from everywhere mongoDB is compatible with django < 1.3....still in old version converting tuple to list is working but above itsn't |
You should try to install it like this (it works for me with django 1.4):
with requirements.txt containing the following lines:
(Ps: at least git 1.8 must be installed on your machine ...) |
Hi, I tried dehiz's suggestions, I still have the same issue. First I got this: then I changed { to [ in INSTALLED_APPS in settings.py Please advise Yu |
this code from django_mongodb_engine.init.py throws an AttributeError: 'tuple' object has no attribute 'insert'.
The text was updated successfully, but these errors were encountered: