Slight tweak to the built-in-views

This commit is contained in:
Daniel Greenfeld 2013-07-06 15:06:27 +02:00
parent f128b23643
commit 483386635d

View file

@ -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: