from django.contrib import admin
from django.urls import path
from . import views

urlpatterns = [
    path('allcomplaints/', views.AllComplaints),
    path('addcomplaint/',views.AddComplaint,name="add_complaint"),
    path('admin/home/',views.AdminHome,name="admin_home"),
    path('officer/home/<id>/',views.OfficerHome,name="officer_home"),
    path('latestcomplaints/',views.LatestComplaints,name="latest_complaints"),
    path('allcomplaints/officer/<id>/',views.AllOfficerComplaints,name="total_officer_complaints"),
    path('pending/complaints/',views.PendingComplaints,name="pending_complaints"),
    path('resolved/complaints/',views.ResolvedComplaints,name="resolved_complaints"),
    path('delete/<comp_id>/',views.DeleteComplaints,name="delete_complaints"),
    path('updatecomplaint/',views.UpdateComplaints,name="update_complaints"),
    path('resolvedcomplaints/<int:pk>',views.ResolvedComplaintsOfficer,name="update_complaints")

]


c3ee4556f7a83f05563d3bedfda80a86b557d6b0
<mask token>

<mask token>
urlpatterns = [path('allcomplaints/', views.AllComplaints), path(
    'addcomplaint/', views.AddComplaint, name='add_complaint'), path(
    'admin/home/', views.AdminHome, name='admin_home'), path(
    'officer/home/<id>/', views.OfficerHome, name='officer_home'), path(
    'latestcomplaints/', views.LatestComplaints, name='latest_complaints'),
    path('allcomplaints/officer/<id>/', views.AllOfficerComplaints, name=
    'total_officer_complaints'), path('pending/complaints/', views.
    PendingComplaints, name='pending_complaints'), path(
    'resolved/complaints/', views.ResolvedComplaints, name=
    'resolved_complaints'), path('delete/<comp_id>/', views.
    DeleteComplaints, name='delete_complaints'), path('updatecomplaint/',
    views.UpdateComplaints, name='update_complaints'), path(
    'resolvedcomplaints/<int:pk>', views.ResolvedComplaintsOfficer, name=
    'update_complaints')]

from django.contrib import admin
from django.urls import path
from . import views
urlpatterns = [path('allcomplaints/', views.AllComplaints), path(
    'addcomplaint/', views.AddComplaint, name='add_complaint'), path(
    'admin/home/', views.AdminHome, name='admin_home'), path(
    'officer/home/<id>/', views.OfficerHome, name='officer_home'), path(
    'latestcomplaints/', views.LatestComplaints, name='latest_complaints'),
    path('allcomplaints/officer/<id>/', views.AllOfficerComplaints, name=
    'total_officer_complaints'), path('pending/complaints/', views.
    PendingComplaints, name='pending_complaints'), path(
    'resolved/complaints/', views.ResolvedComplaints, name=
    'resolved_complaints'), path('delete/<comp_id>/', views.
    DeleteComplaints, name='delete_complaints'), path('updatecomplaint/',
    views.UpdateComplaints, name='update_complaints'), path(
    'resolvedcomplaints/<int:pk>', views.ResolvedComplaintsOfficer, name=
    'update_complaints')]

from django.contrib import admin
from django.urls import path
from . import views

urlpatterns = [
    path('allcomplaints/', views.AllComplaints),
    path('addcomplaint/',views.AddComplaint,name="add_complaint"),
    path('admin/home/',views.AdminHome,name="admin_home"),
    path('officer/home/<id>/',views.OfficerHome,name="officer_home"),
    path('latestcomplaints/',views.LatestComplaints,name="latest_complaints"),
    path('allcomplaints/officer/<id>/',views.AllOfficerComplaints,name="total_officer_complaints"),
    path('pending/complaints/',views.PendingComplaints,name="pending_complaints"),
    path('resolved/complaints/',views.ResolvedComplaints,name="resolved_complaints"),
    path('delete/<comp_id>/',views.DeleteComplaints,name="delete_complaints"),
    path('updatecomplaint/',views.UpdateComplaints,name="update_complaints"),
    path('resolvedcomplaints/<int:pk>',views.ResolvedComplaintsOfficer,name="update_complaints")

]

