"""osinaweb URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/4.1/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.urls import path, include from osinacore import views from django.conf.urls.static import static from django.conf import settings urlpatterns = [ path('update-statusess', views.update_task_statuses, name='update_status'), path('api/', include('osinacore.api.urls')), path('login///', views.login_with_email, name='login_with_email'), path('login/', views.signin, name='signin'), path('signup', views.signup, name='signup'), path('check-email-availability/', views.check_email_availability, name='check-email-availability'), path('activate///', views.activate, name='activate'), path('forgot-password/', views.forgot_password, name='forgot-password'), path('reset-password///', views.reset_password, name='forgot-password'), path('go_online/', views.go_online, name='go_online'), path('logout/', views.signout, name='signout'), path('', views.home, name='home'), path('statusmobilemodal/', views.status_mobile_modal, name='statusmobilemodal'), path('userrecentativities/', views.user_recent_activities_modal, name='userrecentativities'), #Listing Templates path('customers/', views.customers, name='customers'), path('tickets/', views.tickets, name='tickets'), path('businesses/', views.businesses, name='businesses'), path('staffs/', views.staffs, name='users'), path('projects/', views.my_projects, name='my-projects'), path('tasks/', views.my_tasks, name='my-tasks'), path('notes/', views.my_notes, name='my-notes'), path('dailyreports/', views.daily_reports, name='dailyreports'), path('departments/', views.departments, name='departments'), path('projecttypes/', views.project_types, name='projecttypes'), path('jobpositions/', views.job_positions, name='jobpositions'), path('businesstypes/', views.business_types, name='businesstypes'), path('references/', views.references, name='references'), path('tags/', views.tags, name='tags'), #Details Templates path('customers//', views.customerdetails, name='customerdetails'), path('businesses//', views.businessdetails, name='businessdetails'), path('staffs//', views.staffdetails, name='userdetails'), path('projects//', views.projectdetails, name='detailed-project'), path('milestones//', views.milestonedetails, name='detailed-milestone'), path('tasks//', views.taskdetails, name='detailed-task'), path('show-points//', views.show_points_modal, name='showpoints'), path('timeline//', views.timeline_modal, name='timeline'), path('reaction-details-modal/', views.reaction_details_modal, name='reactiondetailsmodal'), path('addressbooks//', views.addressbookdetails, name='addressbookdetails'), #ADMIN CHAT path('chat-rooms//', views.chat_room, name='adminchatroom'), path('add/', include('osinacore.add.urls')), path('edit/', include('osinacore.edit.urls')), path('delete/', include('osinacore.delete.urls')), path('knowledge_base/', include('osinacore.knowledge_base.urls')), path('addressbook/', views.addressbook, name='addressbook'), #Fetch urls path('get_tasks//', views.get_tasks, name='get_tasks'), path('open_tasks_for_project//', views.open_tasks_for_project, name='open_tasks_for_project'), path('recent-activities-page/', views.recent_activities_page, name='recentactivitiespage'), path('fetch_epics/', views.fetch_epics, name='fetch_epics'), path('projects/status//', views.fetch_projects_by_status, name='projects_by_status'), path('all-projects/', views.fetch_projects_by_status, name='all_projects'), ] urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)