from django.conf.urls import url
from django.contrib import admin

from schoolapp import views

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^add_course/(?P<course_id>\d+)/', views.StudentAddCourse.as_view(), name='add_course'),
    url(r'^del_course/', views.StudentDelCourse.as_view(), name='del_course'),

]

1d8840580b06bc4297018b75ea0532b978d4e931
<mask token>

<mask token>
urlpatterns = [url('^admin/', admin.site.urls), url(
    '^add_course/(?P<course_id>\\d+)/', views.StudentAddCourse.as_view(),
    name='add_course'), url('^del_course/', views.StudentDelCourse.as_view(
    ), name='del_course')]

from django.conf.urls import url
from django.contrib import admin
from schoolapp import views
urlpatterns = [url('^admin/', admin.site.urls), url(
    '^add_course/(?P<course_id>\\d+)/', views.StudentAddCourse.as_view(),
    name='add_course'), url('^del_course/', views.StudentDelCourse.as_view(
    ), name='del_course')]

from django.conf.urls import url
from django.contrib import admin

from schoolapp import views

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^add_course/(?P<course_id>\d+)/', views.StudentAddCourse.as_view(), name='add_course'),
    url(r'^del_course/', views.StudentDelCourse.as_view(), name='del_course'),

]
