"""studentsdb URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.contrib import admin

urlpatterns = [
    
    # Students urls
    url(r'^$', 'students.views.students_list', name='home'),
    url(r'^students/add/$', 'students.views.students_add', 
        name='students_add'),
    url(r'^students/(?P<sid>\d+)/edit/$', 'students.views.students_edit',
        name='students_edit'),
    url(r'^students/(?P<sid>\d+)/delete/$', 'students.views.students_delete',
        name='students_delete'),

    # Groups urls
    url(r'^groups/$', 'students.views.groups_list', name='groups'),
    url(r'^groups/add/$', 'students.views.groups_add',
        name='group_add'),
    url(r'^groups/(?P<gid>\d+)/edit/$', 'students.views.groups_edit',
        name='groups_edit'),
    url(r'^groups/(?P<gid>\d+)/delete/$', 'students.views.groups_delete',
        name='groups_delete'),

    # Journal urls

    url(r'^admin/', admin.site.urls),
]

@@ -703,16 +703,44 @@
  admin%0A%0A
+from students import views%0A%0A
 urlpatte
@@ -783,34 +783,24 @@
  url(r'%5E$', 
-'students.
 views.studen
@@ -802,25 +802,24 @@
 tudents_list
-'
 , name='home
@@ -846,34 +846,24 @@
 nts/add/$', 
-'students.
 views.studen
@@ -868,17 +868,16 @@
 ents_add
-'
 , %0A     
@@ -939,34 +939,24 @@
 +)/edit/$', 
-'students.
 views.studen
@@ -958,25 +958,24 @@
 tudents_edit
-'
 ,%0A        na
@@ -1035,34 +1035,24 @@
 /delete/$', 
-'students.
 views.studen
@@ -1052,33 +1052,32 @@
 .students_delete
-'
 ,%0A        name='
@@ -1132,34 +1132,24 @@
 %5Egroups/$', 
-'students.
 views.groups
@@ -1153,17 +1153,16 @@
 ups_list
-'
 , name='
@@ -1193,34 +1193,24 @@
 ups/add/$', 
-'students.
 views.groups
@@ -1213,17 +1213,16 @@
 oups_add
-'
 ,%0A      
@@ -1278,34 +1278,24 @@
 +)/edit/$', 
-'students.
 views.groups
@@ -1299,17 +1299,16 @@
 ups_edit
-'
 ,%0A      
@@ -1376,18 +1376,8 @@
 $', 
-'students.
 view
@@ -1391,17 +1391,16 @@
 s_delete
-'
 ,%0A      

make changes that fix RemovedInDjango110Warning