On Thu, Dec 13, 2012 at 7:47 AM, florian iragne <flor...@iragne.fr> wrote:
> Ok, i've get rid of my "special" mobile_manage.py and pass the --settings > option when i start the fcgi process (i use nginx+fcgi, no mod_wsgi). > > Using manage.py, with each settings file, i can verify that the > INSTALLED_APPS is correct and complete. However, i still get the error > > any idea? > > thanks > > Florian > 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 = . 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. 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. Bill -- You received this message because you are subscribed to the Google Groups "Django users" group. 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.