summaryrefslogtreecommitdiff
path: root/docs/faq/usage.txt
diff options
context:
space:
mode:
authorElif T. Kus <elifkus@gmail.com>2016-01-03 12:56:22 +0200
committerTim Graham <timograham@gmail.com>2016-01-22 12:12:17 -0500
commitbca9faae95db2a92e540fbd08505c134639916fe (patch)
tree92b34dd8ecf8cf5432c25d43292ebc83b7919350 /docs/faq/usage.txt
parent79d0a4fdb0d13ba6a843dace2b90ab44e856bd85 (diff)
Fixed #26020 -- Normalized header stylings in docs.
Diffstat (limited to 'docs/faq/usage.txt')
-rw-r--r--docs/faq/usage.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/faq/usage.txt b/docs/faq/usage.txt
index bd1c250896..9c659bd711 100644
--- a/docs/faq/usage.txt
+++ b/docs/faq/usage.txt
@@ -1,8 +1,9 @@
+=================
FAQ: Using Django
=================
Why do I get an error about importing DJANGO_SETTINGS_MODULE?
--------------------------------------------------------------
+=============================================================
Make sure that:
@@ -14,7 +15,7 @@ Make sure that:
* The module doesn't contain syntax errors (of course).
I can't stand your template language. Do I have to use it?
-----------------------------------------------------------
+==========================================================
We happen to think our template engine is the best thing since chunky bacon,
but we recognize that choosing a template language runs close to religion.
@@ -22,7 +23,7 @@ There's nothing about Django that requires using the template language, so
if you're attached to Jinja2, Mako, or whatever, feel free to use those.
Do I have to use your model/database layer?
--------------------------------------------
+===========================================
Nope. Just like the template system, the model/database layer is decoupled from
the rest of the framework.
@@ -32,7 +33,7 @@ use Django's automatically-generated admin site. That app is coupled to the
Django database layer.
How do I use image and file fields?
------------------------------------
+===================================
Using a :class:`~django.db.models.FileField` or an
:class:`~django.db.models.ImageField` in a model takes a few steps:
@@ -58,7 +59,7 @@ Using a :class:`~django.db.models.FileField` or an
``{{ object.mug_shot.url }}``.
How do I make a variable available to all my templates?
--------------------------------------------------------
+=======================================================
Sometimes your templates just all need the same thing. A common example would
be dynamically-generated menus. At first glance, it seems logical to simply