On Tuesday, 11 September 2012 16:33:31 UTC+1, DJ-Tom wrote: > > > > Am Dienstag, 11. September 2012 10:20:16 UTC+2 schrieb Chang.Jian: >> >> "d:/wwwroot/djtest/djtest/" was already in system path, so I think you >> should set DJANGO_SETTINGS_MODULE like this: >> os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") >> >> try it! >> >> > Ok... GREAT! Now it works :-) (well... sort of, more below... ) but I had > to restart Apache to make config changes effective... is that "normal"? > > I think important things like "you have to restart the webserver to make > changes life" should go into the tutorial in *BIG RED LETTERS* <g> >
The tutorial, by design, doesn't mention Apache at all. That's because it's heavily recommended that you use the built-in devserver for development, for precisely this reason. That's what it's for. -- DR. -- 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/-/LlpRVasnf_UJ. 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.