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 <guyt...@gmail.com <javascript:>>:
>
>> 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/
>>>
>>> if in another directory, on INSTALLED_APPS have to are this mode 
>>> "directory.myappname".
>>>
>>>
>>> 2014-09-01 12:12 GMT+01:00 Guy Tamir <guyt...@gmail.com>:
>>>
>>>> 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 on settings ?
>>>>>
>>>>>
>>>>> 2014-09-01 8:17 GMT+01:00 Guy Tamir <guyt...@gmail.com>:
>>>>>
>>>>>> Hey all,
>>>>>>
>>>>>> I'm trying to create a custom User model on an existing project 
>>>>>> (Django 1.5.5).
>>>>>> I followed this tutorial 
>>>>>> <http://www.caktusgroup.com/blog/2013/08/07/migrating-custom-user-model-django/>,
>>>>>>  
>>>>>> I created the new model, ran a "schemamigration"  once, which 
>>>>>> created the tables in the DB,
>>>>>> also ran the "Migrate" command once with the copying code in the 
>>>>>> "forward" method (like instructed in the tutorial in bullet no. 10.
>>>>>>
>>>>>> The new custom model table was created and all the previous users 
>>>>>> were copied correctly.
>>>>>> Now, I'm trying to change the "AUTH_USER_MODEL" to newly created 
>>>>>> custom User model, but when I run the migrate command I'm getting
>>>>>> this error: 
>>>>>> ImproperlyConfigured: AUTH_USER_MODEL refers to model 
>>>>>> 'myappname.CustomUser' that has not been installed
>>>>>>
>>>>>> I'm new to South, and this is my first time trying to work with the 
>>>>>> custom User option..
>>>>>> Not really sure how to fix this..
>>>>>>
>>>>>> Some more details:
>>>>>> Django=1.5.5
>>>>>> South=1.0
>>>>>> Using Postgresql
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>>  -- 
>>>>>> 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...@googlegroups.com.
>>>>>> To post to this group, send email to django...@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/1c65a221-124a-4c24-ad96-1b7e7e44e3e8%40goog
>>>>>> legroups.com 
>>>>>> <https://groups.google.com/d/msgid/django-users/1c65a221-124a-4c24-ad96-1b7e7e44e3e8%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>>
>>>>> Helton Alves 
>>>>> Desenvolvedor web
>>>>> Graduado em Sistemas de Informação - FACIMP
>>>>> Cursando Metodologia do Ensino Superior - INESPO
>>>>>  
>>>>  -- 
>>>> 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...@googlegroups.com.
>>>> To post to this group, send email to django...@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/5284fb53-300e-4c9d-8497-1ca114100ead%
>>>> 40googlegroups.com 
>>>> <https://groups.google.com/d/msgid/django-users/5284fb53-300e-4c9d-8497-1ca114100ead%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>>
>>> Helton Alves 
>>> Desenvolvedor web
>>> Graduado em Sistemas de Informação - FACIMP
>>> Cursando Metodologia do Ensino Superior - INESPO
>>>  
>>  -- 
>> 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...@googlegroups.com <javascript:>.
>> To post to this group, send email to django...@googlegroups.com 
>> <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/89e71c87-9885-4e5b-9ff9-e7e3a383e900%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/89e71c87-9885-4e5b-9ff9-e7e3a383e900%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> Helton Alves 
> Desenvolvedor web
> Graduado em Sistemas de Informação - FACIMP
> Cursando Metodologia do Ensino Superior - INESPO
>  

-- 
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/ef209589-0564-45c1-988e-b37497067680%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to