Re: Migrating to a custom User model with South

2014-09-01 Thread Guy Tamir
I'll change it, thanks for the tip. Found my problem though. Inside the same models file where I created the CustomUser I also defined a "CaseInsensitiveModelBackend" that uses the get_user_model function Since they were both in the same file it created a loop (i think) and when I moved it to an

Re: Migrating to a custom User model with South

2014-09-01 Thread Helton Alves
why don't you put your app in your own directory? this mode is more organized. project/ settings.py views.py urls.py wsgi.py myappname/ model.py forms.py views.py urls.py 2014-09-01 13:05 GMT+01:00 Guy Tamir : > myappname(dir): > -settings.py >

Re: Migrating to a custom User model with South

2014-09-01 Thread Guy Tamir
myappname(dir): -settings.py - admin.py - forms.py - models.py - urls.py - views.py - wsgi.py On Monday, September 1, 2014 3:02:42 PM UTC+3, Helton Alves wrote: > > can you put here your full directory? > > > 2014-09-01 12:53 GMT+01:00 Guy Tamir >: > >> the layout is like this: >> >> myappname (di

Re: Migrating to a custom User model with South

2014-09-01 Thread Helton Alves
can you put here your full directory? 2014-09-01 12:53 GMT+01:00 Guy Tamir : > the layout is like this: > > myappname (dir): > - settings.py > - models.py (here is the CustomUser model) > > > On Monday, September 1, 2014 2:51:18 PM UTC+3, Helton Alves wrote: > >> your "myappname" is in the sam

Re: Migrating to a custom User model with South

2014-09-01 Thread Guy Tamir
the layout is like this: myappname (dir): - settings.py - models.py (here is the CustomUser model) On Monday, September 1, 2014 2:51:18 PM UTC+3, Helton Alves wrote: > > your "myappname" is in the same directory? > > ex: > settings.py > myappname/ > > or > > settings.py > apps/ > myappname/

Re: Migrating to a custom User model with South

2014-09-01 Thread Helton Alves
your "myappname" is in the same directory? ex: settings.py myappname/ or settings.py apps/ myappname/ if in another directory, on INSTALLED_APPS have to are this mode "directory.myappname". 2014-09-01 12:12 GMT+01:00 Guy Tamir : > Yes its there. > Not sure if this can cause an issue but

Re: Migrating to a custom User model with South

2014-09-01 Thread Guy Tamir
Yes its there. Not sure if this can cause an issue but "myappname" is the main app for my project where the settings.py file is at.. and the CustomUser is a model inside this app On Monday, September 1, 2014 1:50:20 PM UTC+3, Helton Alves wrote: > > do you put your "myappname" in INSTALLED_APPS

Re: Migrating to a custom User model with South

2014-09-01 Thread Helton Alves
do you put your "myappname" in INSTALLED_APPS on settings ? 2014-09-01 8:17 GMT+01:00 Guy Tamir : > Hey all, > > I'm trying to create a custom User model on an existing project (Django > 1.5.5). > I followed this tutorial >