aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/templates
diff options
context:
space:
mode:
authorMitch Riedstra <Mitch@riedstra.us>2017-10-31 17:17:37 -0400
committerMitch Riedstra <Mitch@riedstra.us>2017-10-31 17:17:37 -0400
commit4b191cb3d2c0502088e396a71147e0423e6ecb90 (patch)
tree9cc3c2725a6cb503167967a1b067a843062ff312 /app/dispatch/templates
parent11e4b14a65133960cefafca52d8aaf6d7b2f4950 (diff)
downloaddispatch-tracker-4b191cb3d2c0502088e396a71147e0423e6ecb90.tar.gz
dispatch-tracker-4b191cb3d2c0502088e396a71147e0423e6ecb90.tar.xz
Add localhost and 127.0.0.1 to allowed hosts and give supserusers access to Django Admin via Nav
Diffstat (limited to 'app/dispatch/templates')
-rw-r--r--app/dispatch/templates/dispatch/nav.html1
1 files changed, 1 insertions, 0 deletions
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>