<reponame>drednout5786/Diplom_project_medstat<gh_stars>0
"""medstat URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.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
from articles import views

app_name = 'articles'
urlpatterns = [
    path('<int:id>/', views.article_description, name='article'),
    path('add/', views.article_add, name='article_add'),
    path('article-update/<int:pk>/', views.ArticleUpdateView.as_view(), name='article_update'),
    path('article-delete/<int:pk>/', views.ArticleDeleteView.as_view(), name='article_delete'),

    path('tag_articles/<int:id>/', views.tag_articles, name='tag_articles'),
    path('tags/', views.TagListView.as_view(), name='tag_list'),
    path('tag-one/<int:pk>/', views.TagDetailView.as_view(), name='tag_one'),
    path('tag-update/<int:pk>/', views.TagUpdateView.as_view(), name='tag_update'),
    path('tag-create/', views.TagCreateView.as_view(), name='tag_create'),
    path('tag-delete/<int:pk>/', views.TagDeleteView.as_view(), name='tag_delete'),

    path('service/', views.service, name='service'),
    path('request-service/', views.request_service, name='request_service'),
    path('request-consultation/', views.request_consultation, name='request_consultation'),
    path('request-review/', views.request_review, name='request_review'),
    path('request-question/', views.request_question, name='request_question'),
    path('success-request/', views.success_request, name='success_request'),
    path('requests/', views.ReqListView.as_view(), name='request_list'),
    path('requests_SP/', views.ReqListView_SP.as_view(), name='request_list_SP'),
    path('requests_CO/', views.ReqListView_CO.as_view(), name='request_list_CO'),
    path('requests_QS/', views.ReqListView_QS.as_view(), name='request_list_QS'),
    path('requests_RV/', views.ReqListView_RV.as_view(), name='request_list_RV'),
    path('request-update/<int:pk>/', views.ReqUpdateView.as_view(), name='request_update'),
    path('request-delete/<int:pk>/', views.ReqDeleteView.as_view(), name='request_delete'),

]



"""medstat URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.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
from articles import views

app_name = 'articles'
urlpatterns = [
    path('<int:id>/', views.article_description, name='article'),
    path('add/', views.article_add, name='article_add'),
    path('article-update/<int:pk>/', views.ArticleUpdateView.as_view(), name='article_update'),
    path('article-delete/<int:pk>/', views.ArticleDeleteView.as_view(), name='article_delete'),

    path('tag_articles/<int:id>/', views.tag_articles, name='tag_articles'),
    path('tags/', views.TagListView.as_view(), name='tag_list'),
    path('tag-one/<int:pk>/', views.TagDetailView.as_view(), name='tag_one'),
    path('tag-update/<int:pk>/', views.TagUpdateView.as_view(), name='tag_update'),
    path('tag-create/', views.TagCreateView.as_view(), name='tag_create'),
    path('tag-delete/<int:pk>/', views.TagDeleteView.as_view(), name='tag_delete'),

    path('service/', views.service, name='service'),
    path('request-service/', views.request_service, name='request_service'),
    path('request-consultation/', views.request_consultation, name='request_consultation'),
    path('request-review/', views.request_review, name='request_review'),
    path('request-question/', views.request_question, name='request_question'),
    path('success-request/', views.success_request, name='success_request'),
    path('requests/', views.ReqListView.as_view(), name='request_list'),
    path('requests_SP/', views.ReqListView_SP.as_view(), name='request_list_SP'),
    path('requests_CO/', views.ReqListView_CO.as_view(), name='request_list_CO'),
    path('requests_QS/', views.ReqListView_QS.as_view(), name='request_list_QS'),
    path('requests_RV/', views.ReqListView_RV.as_view(), name='request_list_RV'),
    path('request-update/<int:pk>/', views.ReqUpdateView.as_view(), name='request_update'),
    path('request-delete/<int:pk>/', views.ReqDeleteView.as_view(), name='request_delete'),

]
medstat URL Configuration  The `urlpatterns` list routes URLs to views. For more information please see:     https://docs.djangoproject.com/en/3.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'))