David Jean Louis  committed d36ef5d

better doc for media and added the 'admin_tools' requirement in INSTALLED_APPS

  • Participants
  • Parent commits 14a545c
  • Branches default

Comments (0)

Files changed (2)

File docs/configuration.rst

       cp -r /usr/local/lib/python2.6/dist-packages/admin_tools/media/admin_tools /path/to/yourproject/media/
+django-admin-tools will look for the media directory in the following 
+settings variables (and in this order):
+* ``STATIC_URL``: use this if you are using django-staticfiles;
+* ``MEDIA_URL``.
+Here's an example config if you are using django development server:
+    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
+        {'document_root': '/path/to/media'}),
+    MEDIA_URL = '/site_media/'
 Available settings variables
+    You can use this variable if you want to set the media url for 
+    django-admin-tools to something different from your ``MEDIA_URL``.
     The path to your custom menu class, for example 

File docs/quickstart.rst

-Then, add the django-admin-tools modules to the ``INSTALLED_APPS`` like 
+Then, add admin_tools and its modules to the ``INSTALLED_APPS`` like 
+        'admin_tools',
 django-admin-tools is modular, so if you want to disable a particular 
-module, just remove or comment it out in your ``INSTALLED_APPS``. 
+module, just remove or comment it out in your ``INSTALLED_APPS``, note 
+that ``admin_tools`` is required for i18n.
 Setting up the database