Commit 1a9c4760 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

changed maketrajectory to create

parent 5ef2f22c
...@@ -32,7 +32,7 @@ urlpatterns = patterns('trajectories.views', ...@@ -32,7 +32,7 @@ urlpatterns = patterns('trajectories.views',
url(r'^user/(?P<username>\w+)/$', 'student', name = 'student'), url(r'^user/(?P<username>\w+)/$', 'student', name = 'student'),
# creating the trajectory # creating the trajectory
url(r'^user/(?P<username>\w+)/create/(?P<trajectoryslug>\w+)/$', 'makeTrajectory', name = 'maketrajectory'), url(r'^user/(?P<username>\w+)/create/(?P<trajectoryslug>\w+)/$', 'create', name = 'create'),
# comparison page # comparison page
url(r'^user/(?P<username>\w+)/compare/$', 'compare', name = 'compare'), url(r'^user/(?P<username>\w+)/compare/$', 'compare', name = 'compare'),
......
...@@ -132,13 +132,13 @@ def about(request): ...@@ -132,13 +132,13 @@ def about(request):
) )
# student creates trajectory # student creates trajectory
def makeTrajectory(request, slug): def create(request, slug):
# needs to get list of programs from user # needs to get list of programs from user
programs = [] programs = []
# #
return render(request, 'maketrajectory.html', { return render(request, 'create.html', {
}, },
) )
......
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