Skip to content

Commit

Permalink
updates readme
Browse files Browse the repository at this point in the history
  • Loading branch information
abidibo committed Sep 4, 2020
1 parent 4ddb7d5 commit dbe34d7
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ A cool, modern and responsive django admin application based on bootstrap 4.5.0

Documentation: [readthedocs](http://django-baton.readthedocs.io/)

---
**Live Demo**

Now you can try django-baton using the new shining live demo!
Login with user `demo` and password `demo`

[https://django-baton-demo.herokuapp.com/](https://django-baton-demo.herokuapp.com/)

---

![Screenshot](screenshots/index-analytics-lg.png)

## Table of contents
Expand Down Expand Up @@ -95,18 +105,6 @@ Replace django.contrib.admin in your project urls, and add baton urls:

# from django.contrib import admin
from baton.autodiscover import admin

urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
# ...
url(r'^baton/', include('baton.urls')),
]

### Django 2

The first two steps are the same, but in your project urls you should use _path_:

from baton.autodiscover import admin
from django.urls import path, include

urlpatterns = [
Expand Down

0 comments on commit dbe34d7

Please sign in to comment.