Django2 DjangoFundamentals2
Django2 DjangoFundamentals2
17
Writing Views
19
Mapping URLs to Views 2
20
Mapping URLs to Views 3
21
Using Templates
22
Passing Data to
Templates
23
• Middleware is a framework of hooks into
Django’s request/response processing.
• It’s a light, low-level “plugin” system for
6. add the IP of your website in the list of INTERNAL_IPS, you should add the whole settings to the settings file of your project. In
development the IP address is local and it is the localhost address:
24
25