This is a material for study sessions. It is a paper for printing and putting it at hand for viewing. I didn't have a good place to put it, so I put it in the github repository. Since it is in a graffiti state, I will make a clean copy if I have time and motivation.
https://github.com/usa-mimi/tutorial/raw/390b95915029536c26d42fd3734ed784d11f8795/doc/abstract.pdf
This is a diagram showing the file structure of django and the role of each file.
The files marked in yellow are the files that are automatically created by the startproject`` startapp
command.
https://github.com/usa-mimi/tutorial/raw/390b95915029536c26d42fd3734ed784d11f8795/doc/command.pdf
This is the main command used by manage.py. As a bonus, it also has commands for moving and displaying directories used in the shell.
urls.py
https://github.com/usa-mimi/tutorial/raw/master/doc/url.pdf
Configuration file for linking url and view. Knowledge of regular expressions is required.
views.py
https://github.com/usa-mimi/tutorial/raw/master/doc/view.pdf
models.py
https://github.com/usa-mimi/tutorial/raw/master/doc/model.pdf
DB setting file. Most important in the app.
forms.py
https://github.com/usa-mimi/tutorial/raw/master/doc/model_form.pdf
template/
https://github.com/usa-mimi/tutorial/raw/master/doc/template.pdf
Recommended Posts