Yep, agreed. This is what I've done.

Thanks for the reply!

Cheers,

Ed


On Sunday, 9 November 2014 15:16:51 UTC+1, Cal Leeming [iops.io] wrote:
>
> 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 <[email protected] <javascript:>> 
> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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 [email protected].
To post to this group, send email to [email protected].
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/11aafa31-25f9-4e80-9e81-8c0db57a8751%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to