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