Commit 793175a3 authored by Ben Waters's avatar Ben Waters

REALLY DJANGO

parent 661bd94b
...@@ -41,7 +41,7 @@ New | MySchool Advisor ...@@ -41,7 +41,7 @@ New | MySchool Advisor
<!-- Ensure no more than two majors --> <!-- Ensure no more than two majors -->
<legend>Select your minor(s).</legend> <legend>Select your minor(s).</legend>
<div method="post" action="{% url 'build_trajectory' %}" class="form-group{% if starttrajectoryform.name.errors %} has-error {% endif %}"> <div method="post" action="{% url 'build-me' %}" class="form-group{% if starttrajectoryform.name.errors %} has-error {% endif %}">
<label for "{{ starttrajectoryform.name.id_for_label }}" class="col-sm-2"> <label for "{{ starttrajectoryform.name.id_for_label }}" class="col-sm-2">
{{ starttrajectoryform.name.id_for_label }}</label> {{ starttrajectoryform.name.id_for_label }}</label>
<div class="col-sm-8"> <div class="col-sm-8">
......
...@@ -20,7 +20,7 @@ urlpatterns = patterns('', ...@@ -20,7 +20,7 @@ urlpatterns = patterns('',
# url(r'^blog/', include('blog.urls')), # url(r'^blog/', include('blog.urls')),
url(r'^$', TemplateView.as_view(template_name='index.html'), name='home'), url(r'^$', TemplateView.as_view(template_name='index.html'), name='home'),
url(r'^api/', include(router.urls)), url(r'^api/', include(router.urls)),
url(r'^build/', build_trajectory, name='build-trac'), url(r'^build/', build_trajectory, name='build-me'),
url(r'^new/', StartTrajectoryView.as_view(), name='new-trac'), url(r'^new/', StartTrajectoryView.as_view(), name='new-trac'),
#url(r'^search/', search, name='search'), #url(r'^search/', search, name='search'),
#url(r'^student/(?P<slug>[^/]+)/$', DetailStudent.as_view(), #url(r'^student/(?P<slug>[^/]+)/$', DetailStudent.as_view(),
......
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