Sounds like a bit of a weird edge case, I've had all sorts of problems
previously when moving to custom user models from an app with existing
migration data.

Personally I'd say get rid of the migration data for that specific model
and re-initialize, it's just not worth trying to figure out why the magic
is broken (imho).

Cal

On Fri, Nov 7, 2014 at 8:50 AM, Dr Ed <edward.mo...@gmail.com> wrote:

> 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+unsubscr...@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
> <https://groups.google.com/d/msgid/django-users/ce688047-4e81-4ad8-bd71-115e9ca05ef9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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+unsubscr...@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/CAHKQagGZbVf96-HraFpSFqNqV2FG1nX7ryOyQWOvd6p_jRHqXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to