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/05/13 23:45] – [Django themes] 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? | ||
| - Step1: Install virtualenv:< | - Step1: Install virtualenv:< | ||
| pip install virtualenv | pip install virtualenv | ||
| Line 122: | 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/ | ||
| Line 640: | Line 641: | ||
| * https:// | * https:// | ||
| Front-End themes: | Front-End themes: | ||
| - | * https:// | + | * https:// |
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
python/django.1431560728.txt.gz · Last modified: (external edit)
