Commit ad4ac1b2 authored by Ben Waters's avatar Ben Waters

comeon e

parent ddff6f7c
from django.contrib import admin
# Register your models here.
from django.db import models
# Create your models here.
from django.test import TestCase
# Create your tests here.
from django.shortcuts import render
# Create your views here.
......@@ -20,7 +20,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')),
url(r'^$', TemplateView.as_view(template_name='index.html'), name='index'),
url(r'^api/', include(router.urls)),
url(r'^build/', build_trajectory, name='build'),
url(r'^student/(?P<slug>[^/]+)/$', DetailStudent.as_view(),
......
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#url-homepage"><strong>Your School</strong>&nbsp;Advisor</a>
<a class="navbar-brand" href="{% url 'index' %}"><strong>Your School</strong>&nbsp;Advisor</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="#">Hey</a></li>
<li><a href="#">There</a></li>
<li><a href="#">Winky</a></li>
<li><a href="#">Face</a>
<li><a href="{% url 'profile' %}">Me</a></li>
<li><a href="#">New</a></li>
<li><a href="#">Compare</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Log In</a></li>
{% if user.is_authenticated %}
<li><a href="{% url 'django.contrib.auth.views.logout' %}">Logout</a></li>
{% endif %}
<li><a href="{% url 'django.contrib.auth.views.login' %}">Log In</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
......
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