Commits

David Jean Louis  committed 4d778ec

fix documentation issue #6 and #8

  • Participants
  • Parent commits a841596

Comments (0)

Files changed (3)

File admin_tools/dashboard/models.py

                             'title': 'Python website',
                             'url': 'http://www.python.org',
                             'external': True,
-                            'title': 'Python programming language rocks !',
+                            'description': 'Python programming language rocks !',
                         },
                         {
                             'title': 'Django website',

File docs/configuration.rst

 * admin_tools.dashboard: a customizable dashboard that replaces the django 
   administration index page.
 
+Prerequisite
+~~~~~~~~~~~~
+
+In order to use django-admin-tools you obviously need to have configured
+your django admin site, if you didn't, please refer to the 
+`relevant django documentation <http://docs.djangoproject.com/en/1.1/intro/tutorial02/#activate-the-admin-site>`_.
+
+.. important::
+    It is required that you use the django 1.1 syntax to declare the 
+    django admin urls, e.g.::
+
+        urlpatterns = patterns('',
+            (r'^admin/', include(admin.site.urls)),
+        )
+
+    The old url style ``(r'^admin/(.*)', admin.site.root)`` won't work.
+
 Required settings
 ~~~~~~~~~~~~~~~~~
 
         # ...other installed applications...
     )
 
-
 Setting up the django-admin-tools media files
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
   
       cp -r /usr/local/lib/python2.6/dist-packages/admin_tools/media/admin_tools /path/to/yourproject/media/
 
-
 Available settings variables
 ----------------------------
 

File docs/quickstart.rst

 For a more detailed guide on how to configure django-admin-tools, please
 consult :ref:`the configuration section <configuration>`.
 
+Prerequisite
+~~~~~~~~~~~~
+
+In order to use django-admin-tools you obviously need to have configured
+your django admin site, if you didn't, please refer to the 
+`relevant django documentation <http://docs.djangoproject.com/en/1.1/intro/tutorial02/#activate-the-admin-site>`_.
+
+.. important::
+    It is required that you use the django 1.1 syntax to declare the 
+    django admin urls, e.g.::
+
+        urlpatterns = patterns('',
+            (r'^admin/', include(admin.site.urls)),
+        )
+
+    The old url style ``(r'^admin/(.*)', admin.site.root)`` won't work.
+
 Required settings
 ~~~~~~~~~~~~~~~~~