Commit 5600474a authored by Daniel W Bond's avatar Daniel W Bond
Browse files

urling and such

parent 8c11b931
......@@ -11,15 +11,20 @@ urlpatterns = patterns('trajectories.views',
# homepage
url(r'^$', 'index', name = 'homepage'),
# slug is the course
# creating the trajectory
# slug is the student's netid
url(r'^(?P<slug>[^\.]+)/create/', 'maketrajectory', name = 'maketrajectory'),
# course
# slug would be e.g. "CS211" or "ENGH302"
url(r'^(?P<slug>[^\.]+)/$', 'course', name = 'course'),
# student's page
# slug is the student's netid
url(r'^(?P<slug>[^\.]+)/$', 'student', name = 'student'),
# slug is the student's
# comparison page
# slug is the student's netid
url(r'^(?P<slug>[^\.]+)/compare/$', 'compare', name = 'compare'),
# about page
......
......@@ -50,6 +50,7 @@ def index(request):
},
)
# student creates trajectory
def makeTrajectory(request):
return render_to_repsonse('maketrajectory.html', {
......
Course
---
The first thing that you'll want to create are Courses. Courses have basic information, like the courses' name, the department, the department's abbreviation, and the course number. They also have prerequisites and corequisites. These are key, and are the information that drive the entire program, so make sure that these are correct.
The first thing that you'll want to create are Courses. Courses have basic information, like the courses' name, the department, the department's abbreviation, and the course number, along with the number of credits. They also have prerequisites and corequisites. These are key, and are the information that drive the entire program, so make sure that these are correct.
CourseCollection
---
......
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