Files
centurion_erp/app/settings/urls.py
Jon f36400dbb9 feat(setting): Enable super admin to set ALL software as global
sets is_global=true and creates software in global organization

!11 closes #27
2024-05-25 14:18:01 +09:30

36 lines
1.8 KiB
Python

from django.urls import path
from .views import app_settings, home, device_models, device_types, manufacturer, software_categories
from itam.views import device_type, device_model, software_category
app_name = "Settings"
urlpatterns = [
path("", home.View.as_view(), name="Settings"),
path('application', app_settings.View.as_view(), name="_settings_application"),
path("device_models", device_models.Index.as_view(), name="_device_models"),
path("device_model/<int:pk>", device_model.View.as_view(), name="_device_model_view"),
path("device_model/add/", device_model.Add.as_view(), name="_device_model_add"),
path("device_model/<int:pk>/delete", device_model.Delete.as_view(), name="_device_model_delete"),
path("device_type/", device_types.Index.as_view(), name="_device_types"),
path("device_type/<int:pk>", device_type.View.as_view(), name="_device_type_view"),
path("device_type/add/", device_type.Add.as_view(), name="_device_type_add"),
path("device_type/<int:pk>/delete", device_type.Delete.as_view(), name="_device_type_delete"),
path("software_category", software_categories.Index.as_view(), name="_software_categories"),
path("software_category/<int:pk>", software_category.View.as_view(), name="_software_category_view"),
path("software_category/add/", software_category.Add.as_view(), name="_software_category_add"),
path("software_category/<int:pk>/delete", software_category.Delete.as_view(), name="_software_category_delete"),
path("manufacturers", manufacturer.Index.as_view(), name="_manufacturers"),
path("manufacturer/<int:pk>", manufacturer.View.as_view(), name="_manufacturer_view"),
path("manufacturer/add/", manufacturer.Add.as_view(), name="_manufacturer_add"),
path("manufacturer/<int:pk>/delete", manufacturer.Delete.as_view(), name="_manufacturer_delete"),
]