Wednesday, January 28, 2015

Re: How migrate a CustomUser?

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 <paulosouzamaciel@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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/CAAeX05Expa4i8WfqL8u9WSZjE6EkgvJ47-uu8OZiK54qGKa-yg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment