Thursday, September 13, 2012

Re: Problems with simple "hello world" test - "ImportError: Could not import settings"


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.


Basically I always try to have the same environment for development as I also use for actual production - I'm lucky that my projects are small enough so i can do that :-) to avoid last minute surprises when trying to deploy the application to the public.

--
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/-/qPvYvgWTXS8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate