Commit b32c3747 authored by Ben Waters's avatar Ben Waters

fix url names

parent 6c89efec
......@@ -18,7 +18,7 @@ urlpatterns = patterns('',
# Examples:
# url(r'^$', 'advisor.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
url(r'^$', TemplateView.as_view(template_name='index.html'), name='index'),
url(r'^$', TemplateView.as_view(template_name='index.html'), name='home'),
url(r'^api/', include(router.urls)),
url(r'^build/', build_trajectory, name='build'),
url(r'^new/', StartTrajectoryView.as_view(), name='new-trac'),
......
......@@ -2,7 +2,7 @@
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="{% url 'index' %}"><strong>Your School</strong>&nbsp;Advisor</a>
<a class="navbar-brand" href="{% url 'home' %}"><strong>Your School</strong>&nbsp;Advisor</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment