rename 'home' view as 'index', fixes DEBUG page behavior
This commit is contained in:
parent
abce0262f3
commit
d34fb18949
@ -11,7 +11,7 @@ admin.sites.site = admin.site
|
||||
admin.autodiscover()
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', TemplateView.as_view(template_name='index.html'), name='home'),
|
||||
url(r'^$', TemplateView.as_view(template_name='index.html'), name='index'),
|
||||
|
||||
url(r'^dice/', include('dice.urls')),
|
||||
url(r'^dispatch/', include('dispatch.urls')),
|
||||
|
@ -15,7 +15,7 @@
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
{% block navbarbrand %}
|
||||
<a class="navbar-brand" href="{% url 'home' %}">{{ site.domain }}</a>
|
||||
<a class="navbar-brand" href="{% url 'index' %}">{{ site.domain }}</a>
|
||||
{% endblock %}
|
||||
|
||||
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
|
||||
|
@ -3,7 +3,7 @@
|
||||
{% block title %}{{ site.domain }}{% endblock %}
|
||||
|
||||
{% block navbarbrand %}
|
||||
<a class="navbar-brand navbar-brand-active" href="{% url 'home' %}">{{ site.domain }}</a>
|
||||
<a class="navbar-brand navbar-brand-active" href="{% url 'index' %}">{{ site.domain }}</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block navbarbrand %}
|
||||
<a class="navbar-brand navbar-brand-active" href="{% url 'home' %}">{{ site.domain }}</a>
|
||||
<a class="navbar-brand navbar-brand-active" href="{% url 'index' %}">{{ site.domain }}</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
Loading…
Reference in New Issue
Block a user