On Friday, December 14, 2012 11:17:07 AM UTC+1, ke1g wrote:
>
>
> How are you combining INSTALLED_APPS from the two files?  Note that simply 
> "setting" it to what you want to add in the file that includes the other 
> *replaces* the value you have imported from the other.  Be sure to use += 
> instead of = .
>

INSTALLED_APPS = COMMON_INSTALLED_APPS + SPECIFIC_INSTALLED_APPS

in each specific settings file
 

> Also, if you run "python manage.py shell" you can "from django.conf import 
> settings" and poke around at the values that you are actually setting, 
> which may give a clue.
>


>From the shell, INSTALLED_APPS value is as expected

 

> Finally, you can put "import pdb; pdb.set_trace()" at/near the top of one 
> or the other file and single step your way along to explore how execution 
> differs from your plan.
>

I'll try this

thanks
 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/jtB-ERnacIsJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to