I am just starting out on Django. I have successfully set it up and have it it talking to mysql and am ready to code . Inside of the eclipse IDE; should each app you are working have its own distinct server ( ie my site) instance? Does it matter ?
generally each of your django PROJECTS ( django-admin startproject
) has its own server, project is the directory containing all your apps and contains the manage.py
. each app ususally doesn't because a project is composed of apps.
For developing django includes a development server you can run using runserver
python manage.py runserver 0.0.0.0:8080
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.