"""book URL Configuration

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

urlpatterns = [
    path('admin/', admin.site.urls),

    path('add_book/', views.add_book),
    path('edit_book/<int:nid>/', views.edit_book),
    path('delete_book/<int:nid>/', views.delete_book),
    path('add_publisher/', views.add_publisher),
    path('add_author/', views.add_author),
    path('publisher/', views.publisher),
    path('edit_publisher/<int:nid>/', views.edit_publisher),
    path('author/', views.author),
    path('del_author/<int:nid>/', views.del_author),
    path('edit_author/<int:nid>/', views.edit_author),
    path('del_publisher/<int:nid>/', views.del_publisher),
    path('publisher_book/<int:nid>/', views.publisher_book),
    path('author_book/<int:nid>/', views.author_book),

    re_path('', views.index),

]

c9b5154fa2a798e3204f6030b4faf9d0b8646330
<mask token>

<mask token>
urlpatterns = [path('admin/', admin.site.urls), path('add_book/', views.
    add_book), path('edit_book/<int:nid>/', views.edit_book), path(
    'delete_book/<int:nid>/', views.delete_book), path('add_publisher/',
    views.add_publisher), path('add_author/', views.add_author), path(
    'publisher/', views.publisher), path('edit_publisher/<int:nid>/', views
    .edit_publisher), path('author/', views.author), path(
    'del_author/<int:nid>/', views.del_author), path(
    'edit_author/<int:nid>/', views.edit_author), path(
    'del_publisher/<int:nid>/', views.del_publisher), path(
    'publisher_book/<int:nid>/', views.publisher_book), path(
    'author_book/<int:nid>/', views.author_book), re_path('', views.index)]

<mask token>
from django.contrib import admin
from django.urls import path, re_path
from bk_manage import views
urlpatterns = [path('admin/', admin.site.urls), path('add_book/', views.
    add_book), path('edit_book/<int:nid>/', views.edit_book), path(
    'delete_book/<int:nid>/', views.delete_book), path('add_publisher/',
    views.add_publisher), path('add_author/', views.add_author), path(
    'publisher/', views.publisher), path('edit_publisher/<int:nid>/', views
    .edit_publisher), path('author/', views.author), path(
    'del_author/<int:nid>/', views.del_author), path(
    'edit_author/<int:nid>/', views.edit_author), path(
    'del_publisher/<int:nid>/', views.del_publisher), path(
    'publisher_book/<int:nid>/', views.publisher_book), path(
    'author_book/<int:nid>/', views.author_book), re_path('', views.index)]

"""book URL Configuration

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

urlpatterns = [
    path('admin/', admin.site.urls),

    path('add_book/', views.add_book),
    path('edit_book/<int:nid>/', views.edit_book),
    path('delete_book/<int:nid>/', views.delete_book),
    path('add_publisher/', views.add_publisher),
    path('add_author/', views.add_author),
    path('publisher/', views.publisher),
    path('edit_publisher/<int:nid>/', views.edit_publisher),
    path('author/', views.author),
    path('del_author/<int:nid>/', views.del_author),
    path('edit_author/<int:nid>/', views.edit_author),
    path('del_publisher/<int:nid>/', views.del_publisher),
    path('publisher_book/<int:nid>/', views.publisher_book),
    path('author_book/<int:nid>/', views.author_book),

    re_path('', views.index),

]
