Added conclusion of covering in chap3.md

master
Jason Zhu 2020-11-07 15:32:20 +11:00
parent 9fa1028ce1
commit 22a38297a9
1 changed files with 10 additions and 1 deletions

View File

@ -205,4 +205,13 @@ Fix the `views.py` to
```python ```python
def home_page(request): def home_page(request):
return HttpResponse('<html><title>To-Do list</title></html>') return HttpResponse('<html><title>To-Do list</title></html>')
``` ```
Conclusion of covering:
* Starting a Django app
* The Django unit test runner
* The difference btw FTs and unit tests
* Django URL resolving and `urls.py`
* Django view functions, request and response objects
* And returning basic HTML