Using django 1.9
django-registration-redux==1.3a0
python 2.7
I added ‘registration’ , ‘sites’ to the INSTALELD_APPS and installed django-registration-redux.
INSTALLED_APPS = [
‘django.contrib.admin’,
‘django.contrib.auth’,
‘django.contrib.contenttypes’,
‘django.contrib.sessions’,
‘django.contrib.sites’,
‘django.contrib.messages’,
‘django.contrib.staticfiles’,
#third party apps
’crispy_forms’,
‘registration’,
#my apps
’polls’,
]
When I do a python manage.py migrate, I get the following error:
rachanas-mbp:mysite rachana$ python manage.py migrate
Traceback (most recent call last):
File “manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “/Users/rachana/Development/django-trunk/django/core/management/init.py”, line 331, in execute_from_command_line
utility.execute()
File “/Users/rachana/Development/django-trunk/django/core/management/init.py”, line 323, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/Users/rachana/Development/django-trunk/django/core/management/base.py”, line 353, in run_from_argv
self.execute(*args, **cmd_options)
File “/Users/rachana/Development/django-trunk/django/core/management/base.py”, line 404, in execute
output = self.handle(*args, **options)
File “/Users/rachana/Development/django-trunk/django/core/management/commands/migrate.py”, line 86, in handle
executor = MigrationExecutor(connection, self.migration_progress_callback)
File “/Users/rachana/Development/django-trunk/django/db/migrations/executor.py”, line 19, in init
self.loader = MigrationLoader(self.connection)
File “/Users/rachana/Development/django-trunk/django/db/migrations/loader.py”, line 49, in init
self.build_graph()
File “/Users/rachana/Development/django-trunk/django/db/migrations/loader.py”, line 178, in build_graph
self.load_disk()
File “/Users/rachana/Development/django-trunk/django/db/migrations/loader.py”, line 95, in load_disk
for name in os.listdir(directory):
OSError: [Errno 20] Not a directory: ‘/Library/Python/2.7/site-packages/django_registration_redux-1.3a0-py2.7.egg/registration/migrations’