diff --git a/docs/installation.rst b/docs/installation.rst index 4d39e3b..e8edc43 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -33,17 +33,17 @@ Add djadmin2 urls to your URLconf: .. code-block:: python # urls.py - from django.conf.urls import patterns, include + from django.conf.urls import include import djadmin2 djadmin2.default.autodiscover() - urlpatterns = patterns( + urlpatterns = [ ... url(r'^admin2/', include(djadmin2.default.urls)), - ) + ] Development Installation ========================= diff --git a/docs/ref/themes.rst b/docs/ref/themes.rst index 26eca22..ded7997 100644 --- a/docs/ref/themes.rst +++ b/docs/ref/themes.rst @@ -8,7 +8,7 @@ How To Create a Theme A Django Admin 2 theme is merely a packaged Django app. Here are the necessary steps to create a theme called '*dandy*': -1. Make sure you have Django 1.5 or higher installed. +1. Make sure you have Django 1.8 or higher installed. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: python