mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
Update docs
This commit is contained in:
parent
7d2f5b1251
commit
fb05f25084
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
=========================
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue