Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nathan R Lapierre
advisor
Commits
1a9c4760
Commit
1a9c4760
authored
Dec 25, 2013
by
Daniel W Bond
Browse files
changed maketrajectory to create
parent
5ef2f22c
Changes
3
Hide whitespace changes
Inline
Side-by-side
advisor/settings/urls.py
View file @
1a9c4760
...
...
@@ -32,7 +32,7 @@ urlpatterns = patterns('trajectories.views',
url
(
r
'^user/(?P<username>\w+)/$'
,
'student'
,
name
=
'student'
),
# 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
url
(
r
'^user/(?P<username>\w+)/compare/$'
,
'compare'
,
name
=
'compare'
),
...
...
advisor/templates/
maketrajectory
.html
→
advisor/templates/
create
.html
View file @
1a9c4760
File moved
advisor/trajectories/views.py
View file @
1a9c4760
...
...
@@ -132,13 +132,13 @@ def about(request):
)
# student creates trajectory
def
makeTrajectory
(
request
,
slug
):
def
create
(
request
,
slug
):
# needs to get list of programs from user
programs
=
[]
#
return
render
(
request
,
'
maketrajectory
.html'
,
{
return
render
(
request
,
'
create
.html'
,
{
},
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment