Re: Where does django store auth migrations?

2014-11-12 Thread Collin Anderson
Hello, Just checking, do you have AUTH_USER_MODULE = 'emailcustomuser.User'? Did you mark emailcustomuser.User as "swappable" by chance? (I don't think you want to do that) Thanks, Collin On Monday, November 10, 2014 5:43:23 AM UTC-5, Dr Ed wrote: > > Hi Markus, > > I don't really think it's t

Re: Where does django store auth migrations?

2014-11-10 Thread Carl Meyer
Hi Ed, On 11/10/2014 03:43 AM, Dr Ed wrote: > I don't really think it's the Custom model that's at fault here - this > migration was created months ago. The point is that auth migrations are > stored in, to my mind, the wrong place > (in > /Users//.virtualenvs//lib/python2.7/site-packages

Re: Where does django store auth migrations?

2014-11-10 Thread Dr Ed
Hi Markus, I don't really think it's the Custom model that's at fault here - this migration was created months ago. The point is that auth migrations are stored in, to my mind, the wrong place (in /Users//.virtualenvs/ /lib/python2.7/site-packages/django/contrib/auth/) and a separate pro

Re: Where does django store auth migrations?

2014-11-10 Thread Markus Holtermann
Hey Ed, you certainly don't have to copy the virtualenv over to production! Can you share some insights on your custom user model and your settings. A complete traceback, if you have any, helps too. /Markus On Monday, November 10, 2014 9:00:04 AM UTC+1, Dr Ed wrote: > > > > On Sunday, 9 Novemb

Re: Where does django store auth migrations?

2014-11-10 Thread Dr Ed
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 >

Re: Where does django store auth migrations?

2014-11-10 Thread Dr Ed
On Sunday, 9 November 2014 14:50:54 UTC+1, Daniel Roseman wrote: > > On Sunday, 9 November 2014 13:40:12 UTC, Dr Ed wrote: >> >> Okay, I'm confused. I found it, in here: >> /Users//.virtualenvs//lib/python2.7/site- >> packages/django/contrib/auth/migrations >> >> Why are app related migra

Re: Where does django store auth migrations?

2014-11-09 Thread Cal Leeming [iops.io]
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

Re: Where does django store auth migrations?

2014-11-09 Thread Daniel Roseman
On Sunday, 9 November 2014 13:40:12 UTC, Dr Ed wrote: > > Okay, I'm confused. I found it, in here: > /Users//.virtualenvs//lib/python2.7/site- > packages/django/contrib/auth/migrations > > Why are app related migrations being stored in this location? > > Cheers, > > Ed > What? Migrations r

Re: Where does django store auth migrations?

2014-11-09 Thread Dr Ed
Okay, I'm confused. I found it, in here: /Users//.virtualenvs//lib/python2.7/site- packages/django/contrib/auth/migrations Why are app related migrations being stored in this location? Cheers, Ed On Friday, 7 November 2014 09:50:47 UTC+1, Dr Ed wrote: > > Hi all, > > I feel a bit embar

Where does django store auth migrations?

2014-11-07 Thread Dr Ed
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 *conte