Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion django_mongodb_engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

try:
from django.conf import settings
settings.INSTALLED_APPS.insert(0, 'django_mongodb_engine')
settings.INSTALLED_APPS = \
('django_mongodb_engine',) + settings.INSTALLED_APPS[1:]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, this should be :

    ('django_mongodb_engine',) + settings.INSTALLED_APPS

# It might be irritating that django-mongodb-engine registers itself as an app,
# and I think this is worth an explanation - so here you go:
# django-mongodb-engine provides a way to set MongoDB-specific options for a
Expand Down