From 7cfc9c9ce362511864a46fda01afe728963c092c Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 27 Dec 2017 18:35:11 +0100 Subject: [PATCH] rename the section titles This way it's more obvious which file the code belongs to. --- docs/docs.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs.org b/docs/docs.org index c4c4231..4513ac7 100644 --- a/docs/docs.org +++ b/docs/docs.org @@ -3,7 +3,7 @@ #+LaTeX_HEADER: \input{/home/andreas/git_repos/notes/settings/latex/style} #+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 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" #+END_SRC -* Admin +* inventory/admin.py The admin file specifies which models are visible and in which way the get shown in the admin interface. @@ -444,7 +444,7 @@ admin.site.register(Warranty) admin.site.register(CronJob, CronJobAdmin) #+END_SRC -* Views +* inventory/views.py Views are used to get information from the database and send them to the templates.