Skip to content

Commit

Permalink
Merge pull request #382 from masterfung/master
Browse files Browse the repository at this point in the history
updated the docs to add migrations for 1.7 while updated a constant so the warning message does not appear when running command line
  • Loading branch information
omab committed Sep 20, 2014
2 parents 9fc0f4d + 03d0f4d commit cf77277
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/configuration/django.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ Also ensure to define the MongoEngine_ storage setting::
Database
--------

(For Django 1.7 and higher) sync database to create needed models::

./manage.py makemigrations



Sync database to create needed models::

./manage.py syncdb
Expand Down
2 changes: 2 additions & 0 deletions examples/django_example/example/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@
#'social.pipeline.debug.debug'
)

TEST_RUNNER = 'django.test.runner.DiscoverRunner'

# SOCIAL_AUTH_ADMIN_USER_SEARCH_FIELDS = ['first_name', 'last_name', 'email',
# 'username']

Expand Down
2 changes: 2 additions & 0 deletions examples/django_me_example/example/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@
'social.pipeline.user.user_details'
)

TEST_RUNNER = 'django.test.runner.DiscoverRunner'

try:
from example.local_settings import *
except ImportError:
Expand Down

0 comments on commit cf77277

Please sign in to comment.