rename the section titles

This way it's more obvious which file the code belongs to.
This commit is contained in:
Andreas Zweili 2017-12-27 18:35:11 +01:00
parent 5ca9e2011b
commit 7cfc9c9ce3
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
#+LaTeX_HEADER: \input{/home/andreas/git_repos/notes/settings/latex/style} #+LaTeX_HEADER: \input{/home/andreas/git_repos/notes/settings/latex/style}
#+SETUPFILE: ~/git_repos/notes/settings/html_theme/setup/theme-readtheorg.setup #+SETUPFILE: ~/git_repos/notes/settings/html_theme/setup/theme-readtheorg.setup
* Models * inventory/models.py
Models define the database layout in a django application. Each class Models define the database layout in a django application. Each class
represents a table in the database. A lot the models in this project represents a table in the database. A lot the models in this project
@ -343,7 +343,7 @@ class CronJob(models.Model):
verbose_name_plural = "Cron Jobs" verbose_name_plural = "Cron Jobs"
#+END_SRC #+END_SRC
* Admin * inventory/admin.py
The admin file specifies which models are visible and in which way the The admin file specifies which models are visible and in which way the
get shown in the admin interface. get shown in the admin interface.
@ -444,7 +444,7 @@ admin.site.register(Warranty)
admin.site.register(CronJob, CronJobAdmin) admin.site.register(CronJob, CronJobAdmin)
#+END_SRC #+END_SRC
* Views * inventory/views.py
Views are used to get information from the database and send them to Views are used to get information from the database and send them to
the templates. the templates.