Issue
I'm new to django and am coming from the MAMP and PHP world. How do you setup virtual hosts in django for a site? For example, when you run the server, instead of going to 127.0.0.1:8000, I'd like to go to mysite.dev locally? I keep reading about wsgi for Apache, but am unsure if this is the easiest way.
Basically, how do you setup virtual hosts for django? Any links or code is appreciated!
Solution
Keep in mind that unlike PHP, you don't need Apache and virtual hosts to develop and test django applications as django comes with a built-in development server.
You would only need Apache when you are ready to deploy your application, and to set that up you should read how to deploy with wsgi.
Answered By - Burhan Khalid
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.