diff options
| -rw-r--r-- | app/config.yml | 3 | ||||
| -rw-r--r-- | app/dispatch/templates/dispatch/nav.html | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/config.yml b/app/config.yml index 80a9d6e..66ac993 100644 --- a/app/config.yml +++ b/app/config.yml @@ -21,6 +21,7 @@ db_default: # NAME: /home/mitch/scm/dispatch-tracker/app/db.sqlite3 allowed_hosts: - - example.com + - localhost + - 127.0.0.1 static_root: '/full/path/to/static/root' diff --git a/app/dispatch/templates/dispatch/nav.html b/app/dispatch/templates/dispatch/nav.html index a5f09e5..39acb38 100644 --- a/app/dispatch/templates/dispatch/nav.html +++ b/app/dispatch/templates/dispatch/nav.html @@ -4,6 +4,7 @@ {% if request.user.is_superuser %} <li><a href="{% url 'driver_list' %}">Drivers</a></li> <li><a href="{% url 'customer_list' %}">Customers</a></li> + <li><a href="/admin">DjangoAdmin</a></li> {% else %} <li><a href="{% url 'driver_summary' request.user.id %}">Summary</a> <li><a href="{% url 'driver_details' request.user.id %}">My Account</a></li> |
