Friday, November 7, 2014

Where does django store auth migrations?

Hi all,

I feel a bit embarrassed even asking this question, because it must have an obvious answer... but when I do "./manage.py migrate -l" I see:


admin

 [X] 0001_initial

auth

 [X] 0001_initial

 [X] 0002_customer_payingcustomer_projectmanager_staff

 [X] 0003_auto_20141107_0803

contenttypes

 [X] 0001_initial

portal

 [X] 0001_initial

 [X] 0002_auto_20141008_2032

 [X] 0003_auto_20141008_2058

 [X] 0004_auto_20141008_2100

 [X] 0005_auto_20141008_2102

 [X] 0006_auto_20141008_2259

 [X] 0007_project_project_video_url

sessions

 [X] 0001_initial



Where do I find the auth migrations? I've used grep, find and Spotlight... I've searched the repository. I just can't find them! What am I missing?

As a bit of background - the reason I'm doing this is we want to migrate to custom user models (removing username and just using email). However when I do this, I get "TypeError: Staff cannot proxy the swapped model 'emailcustomuser.User'.
"

We don't actually need the proxy users, so I tried deleting them, but this didn't change anything (possibly because of these migrations I can't find). 

Cheers,

Ed

--
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/ce688047-4e81-4ad8-bd71-115e9ca05ef9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment