How migrate a CustomUser?

14 views
Skip to first unread message

Neto

unread,
Jan 28, 2015, 11:03:00 AM1/28/15
to django...@googlegroups.com
I'm using syncdb to the class CustomUser(AbstractUser), my Django is 1.7, how can I user migrate to a customuser?

Jorge Andrés Vergara Ebratt

unread,
Jan 28, 2015, 9:33:44 PM1/28/15
to django...@googlegroups.com
Hello, in Django 1.7+ you don't use syncdb you use a a mix of:

python manage.py makemigrations
And then use
python manage.py migrate


On Wed Jan 28 2015 at 11:03:06 AM Neto <paulosou...@gmail.com> wrote:
I'm using syncdb to the class CustomUser(AbstractUser), my Django is 1.7, how can I user migrate to a customuser?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c2d578d7-ac96-4131-a079-310799575b05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages