On Monday, October 27, 2014 5:44:55 AM UTC-7, Collin Anderson wrote:
>
> Hi Frankline,
>
> Like you said, you need to use 'app_label.model_name' for AUTH_USER_MODEL, 
> instead of 'apps.app_label.model_name'. Django looks at INSTALLED_APPS and 
> knows to add the "apps" prefix when importing.
>
> What's wrong with setting AUTH_USER_MODEL to 'app_label.model_name'?
>


Since the  apps are in an "apps" folder, that folder location will need to 
be added to the python path. Then Frankline will be able to refer to them 
throughout the codebase via app_label.model_name rather than 
apps.app_label.model_name. 
If you're using virtualenv/virtualenvwrapper, this is easy to do:

add2virtualenv /path/to/custom/apps/directory

./s


-- 
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/ac31d04b-46ed-4e05-a36f-e3f7034946d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to