Tuesday, April 21, 2015

Re: moving from Django 1.6 and south to Django 1.8 -- auth migrations not applied

I'm using a custom user model, so it seems that migration operations like the following are ignored silently:

migrations.AlterField(
    model_name='user',
    name='email',
    field=models.EmailField(max_length=254, verbose_name='email address', blank=True),
),

On Monday, April 20, 2015 at 4:19:56 PM UTC-4, Scott Hostovich wrote:
I moving from Django 1.6 and south to Django 1.8. I followed the instructions at https://docs.djangoproject.com/en/1.8/topics/migrations/#upgrading-from-south and things seemed to work fine. Then I noticed that the auth migrations did not get applied to the database (https://github.com/django/django/tree/1.8/django/contrib/auth/migrations).

Anyone else encounter this?

--
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/967cd282-b393-4ed3-b78b-aa932550d72f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment