python:django
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
python:django [2015/10/17 09:06] – [Create virtual environment and run django] admin | python:django [2022/10/29 16:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 51: | Line 51: | ||
</ | </ | ||
==== Create virtual environment and run django ==== | ==== Create virtual environment and run django ==== | ||
- | Why create virtual environment? | + | Why create virtual environment? |
- Step1: Install virtualenv:< | - Step1: Install virtualenv:< | ||
pip install virtualenv | pip install virtualenv | ||
Line 123: | Line 123: | ||
admin.site.register(Question) | admin.site.register(Question) | ||
</ | </ | ||
- | ==== write routing urls and view for poll ==== | + | ==== write routing urls(URL Dispatcher) |
refer: https:// | refer: https:// | ||
- Step1: Open the file **polls/ | - Step1: Open the file **polls/ |
python/django.txt · Last modified: 2022/10/29 16:15 by 127.0.0.1