How migrate a CustomUser?

已查看 14 次
跳至第一个未读帖子

Neto

未读,
2015年1月28日 11:03:002015/1/28
收件人 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

未读,
2015年1月28日 21:33:442015/1/28
收件人 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.
回复全部
回复作者
转发
0 个新帖子