Skip to content

Instantly share code, notes, and snippets.

@javimb
Created September 26, 2013 09:56
Show Gist options
  • Save javimb/6712118 to your computer and use it in GitHub Desktop.
Save javimb/6712118 to your computer and use it in GitHub Desktop.
1. Comment django.contrib.auth, django.contrib.user and all apps related with de custom user model in settings.INSTALLED_APPS.
2. manage.py syncdb.
3. Uncomment django.contrib.auth, django.contrib.user and all apps related with de custom user model in settings.INSTALLED_APPS.
4. manage.py schemamigration custom_user_app --initial.
5. manage.py syncdb.
6. manage.py migrate custom_user_app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment