From 483386635d00cc7ae6524cc8d6f23655aade9416 Mon Sep 17 00:00:00 2001 From: Daniel Greenfeld Date: Sat, 6 Jul 2013 15:06:27 +0200 Subject: [PATCH] Slight tweak to the built-in-views --- docs/ref/built-in-views.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/ref/built-in-views.rst b/docs/ref/built-in-views.rst index 60600c8..5baf711 100644 --- a/docs/ref/built-in-views.rst +++ b/docs/ref/built-in-views.rst @@ -9,13 +9,18 @@ issue in view class' top-level docstring `#220`_ .. _`#220`: https://github.com/twoscoops/django-admin2/issues/220 -.. code-block:: python +View Constants +--------------- + +The following are available in every view: :next: The page to redirect the user to after login :MEDIA_URL: Specify a directory where file uploads for users who use your site go :STATIC_URL: Specify a directory for JavaScript, CSS and image files. :user: Currently logged in user +View Descriptions +------------------ .. autoclass:: djadmin2.views.IndexView :members: