Commit 45eefd27 authored by Ben Waters's avatar Ben Waters
Browse files

fix urls

parent 5dd5e630
from django.conf.urls import patterns, include, url
from django.views.generic import TemplateView
from mainapp.views import (ProgramViewSet, CourseViewSet, CourseGroupViewSet,
TrajectoryViewSet, build_trajectory, SemesterViewSet, BuildResponseViewSet,
DetailStudent, ProfileView, RequirementViewSet)
from mainapp.models import (Program, Course, CourseGroup, Trajectory, Semester,
BuildResponse, Student, Requirement)
from mainapp.views import *
from mainapp.models import *
from rest_framework.routers import DefaultRouter
......@@ -15,7 +12,7 @@ router.register(r'coursegroups', CourseGroupViewSet)
router.register(r'trajectories', TrajectoryViewSet)
router.register(r'semesters', SemesterViewSet)
router.register(r'buildresponses', BuildResponseViewSet)
router.register(r'requirements', RequirementViewSet
router.register(r'requirements', RequirementViewSet)
urlpatterns = patterns('',
# Examples:
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