from django.conf.urls import url, include
from django.contrib.auth import views as auth_views

from . import views as core_views

urlpatterns = [
    url(r'^lib/$', core_views.book_list, name='lib'),
    url(r'^login/$', auth_views.login, {'template_name': 'book/login.html', 
    	}, name='login'),
    url(r'^logout/$', auth_views.logout, {'next_page': 'login'}, name='logout'),
    url(r'^signup/$', core_views.signup, name='signup'),
    url(r'^liber/(?P<pk>\d+)$', core_views.liber, name='liber'),
    url(r'^home/$', core_views.home, name='home'),
    url(r'^createGroup/$', core_views.createGroup, name='createGroup'),
    url(r'^groupBooks/(?P<pk>\d+)$', core_views.groupBooks, name='groupBooks'),
    url(r'^groupBooks/deleteBookFromGroup/(?P<book_id>\d+)/(?P<group_id>\d+)$', core_views.deleteBookFromGroup, name='deleteBookFromGroup'),
    url(r'^home/deleteGroup/(?P<group_id>\d+)$', core_views.deleteGroup, name='deleteGroup'),
    url(r'^home/editGroup/(?P<group_id>\d+)$', core_views.editGroup, name='editGroup'),
]
5ff5d5adc069b5c2acb73d3882b17dd37744f2b0
<mask token>

<mask token>
urlpatterns = [url('^lib/$', core_views.book_list, name='lib'), url(
    '^login/$', auth_views.login, {'template_name': 'book/login.html'},
    name='login'), url('^logout/$', auth_views.logout, {'next_page':
    'login'}, name='logout'), url('^signup/$', core_views.signup, name=
    'signup'), url('^liber/(?P<pk>\\d+)$', core_views.liber, name='liber'),
    url('^home/$', core_views.home, name='home'), url('^createGroup/$',
    core_views.createGroup, name='createGroup'), url(
    '^groupBooks/(?P<pk>\\d+)$', core_views.groupBooks, name='groupBooks'),
    url(
    '^groupBooks/deleteBookFromGroup/(?P<book_id>\\d+)/(?P<group_id>\\d+)$',
    core_views.deleteBookFromGroup, name='deleteBookFromGroup'), url(
    '^home/deleteGroup/(?P<group_id>\\d+)$', core_views.deleteGroup, name=
    'deleteGroup'), url('^home/editGroup/(?P<group_id>\\d+)$', core_views.
    editGroup, name='editGroup')]

from django.conf.urls import url, include
from django.contrib.auth import views as auth_views
from . import views as core_views
urlpatterns = [url('^lib/$', core_views.book_list, name='lib'), url(
    '^login/$', auth_views.login, {'template_name': 'book/login.html'},
    name='login'), url('^logout/$', auth_views.logout, {'next_page':
    'login'}, name='logout'), url('^signup/$', core_views.signup, name=
    'signup'), url('^liber/(?P<pk>\\d+)$', core_views.liber, name='liber'),
    url('^home/$', core_views.home, name='home'), url('^createGroup/$',
    core_views.createGroup, name='createGroup'), url(
    '^groupBooks/(?P<pk>\\d+)$', core_views.groupBooks, name='groupBooks'),
    url(
    '^groupBooks/deleteBookFromGroup/(?P<book_id>\\d+)/(?P<group_id>\\d+)$',
    core_views.deleteBookFromGroup, name='deleteBookFromGroup'), url(
    '^home/deleteGroup/(?P<group_id>\\d+)$', core_views.deleteGroup, name=
    'deleteGroup'), url('^home/editGroup/(?P<group_id>\\d+)$', core_views.
    editGroup, name='editGroup')]

from django.conf.urls import url, include
from django.contrib.auth import views as auth_views

from . import views as core_views

urlpatterns = [
    url(r'^lib/$', core_views.book_list, name='lib'),
    url(r'^login/$', auth_views.login, {'template_name': 'book/login.html', 
    	}, name='login'),
    url(r'^logout/$', auth_views.logout, {'next_page': 'login'}, name='logout'),
    url(r'^signup/$', core_views.signup, name='signup'),
    url(r'^liber/(?P<pk>\d+)$', core_views.liber, name='liber'),
    url(r'^home/$', core_views.home, name='home'),
    url(r'^createGroup/$', core_views.createGroup, name='createGroup'),
    url(r'^groupBooks/(?P<pk>\d+)$', core_views.groupBooks, name='groupBooks'),
    url(r'^groupBooks/deleteBookFromGroup/(?P<book_id>\d+)/(?P<group_id>\d+)$', core_views.deleteBookFromGroup, name='deleteBookFromGroup'),
    url(r'^home/deleteGroup/(?P<group_id>\d+)$', core_views.deleteGroup, name='deleteGroup'),
    url(r'^home/editGroup/(?P<group_id>\d+)$', core_views.editGroup, name='editGroup'),
]