# Path: search/web/views/dashboard.py
# class SourceCourseListView(ListView):
# class CourseActionMixin(object):
# class CourseDetailView(DetailView):
# class CourseFormAddView(CourseActionMixin, FormView):
# class CourseFormEditView(CourseActionMixin, FormView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def dispatch(self, request, *args, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_form(self, data=None, files=None, **kwargs):
#     def form_valid(self, form):
#     def dispatch(self, request, *args, **kwargs):
#     def get_form(self, data=None, files=None, **kwargs):
#     def get_context_data(self, **kwargs):
#     def form_valid(self, form):


from django.conf.urls import patterns, url
from .views import dashboard


urlpatterns = patterns('',
    url(r'^source/(?P<pk>\d+)/course/list/$', dashboard.SourceCourseListView.as_view(), name='source-course-list'),
    url(r'^course/(?P<pk>\d+)/edit/$', dashboard.CourseFormEditView.as_view(), name='course-edit'),


# Path: search/web/views/dashboard.py
# class SourceCourseListView(ListView):
# class CourseActionMixin(object):
# class CourseDetailView(DetailView):
# class CourseFormAddView(CourseActionMixin, FormView):
# class CourseFormEditView(CourseActionMixin, FormView):
#     def get_queryset(self):
#     def get_context_data(self, **kwargs):
#     def dispatch(self, request, *args, **kwargs):
#     def get_context_data(self, **kwargs):
#     def get_form(self, data=None, files=None, **kwargs):
#     def form_valid(self, form):
#     def dispatch(self, request, *args, **kwargs):
#     def get_form(self, data=None, files=None, **kwargs):
#     def get_context_data(self, **kwargs):
#     def form_valid(self, form):


# Path: search/web/urls_dashboard.py
from django.conf.urls import patterns, url
from .views import dashboard



urlpatterns = patterns('',
    url(r'^source/(?P<pk>\d+)/course/list/$', dashboard.SourceCourseListView.as_view(), name='source-course-list'),
    url(r'^course/(?P<pk>\d+)/edit/$', dashboard.CourseFormEditView.as_view(), name='course-edit'),


    url(r'^course/(?P<linkhash>\w+)/$', dashboard.CourseDetailView.as_view(lookup_field='linkhash'), name='course-view'),