diff --git a/app/app/urls.py b/app/app/urls.py index 860f688a..c8e78f18 100644 --- a/app/app/urls.py +++ b/app/app/urls.py @@ -55,6 +55,7 @@ if settings.DEBUG: path("__debug__/", include("debug_toolbar.urls"), name='_debug'), # Apps Under Development path("information/", include("information.urls")), + path("config_management/", include("config_management.urls")), ] # must be after above diff --git a/app/config_management/__init__.py b/app/config_management/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/app/config_management/apps.py b/app/config_management/apps.py new file mode 100644 index 00000000..e334de89 --- /dev/null +++ b/app/config_management/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class ConfigManagementConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'config_management' diff --git a/app/config_management/migrations/__init__.py b/app/config_management/migrations/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/app/config_management/models.py b/app/config_management/models.py new file mode 100644 index 00000000..137941ff --- /dev/null +++ b/app/config_management/models.py @@ -0,0 +1 @@ +from django.db import models diff --git a/app/config_management/urls.py b/app/config_management/urls.py new file mode 100644 index 00000000..518b51e2 --- /dev/null +++ b/app/config_management/urls.py @@ -0,0 +1,9 @@ +from django.urls import path + +from .views import ConfigIndex + +app_name = "Config Management" +urlpatterns = [ + path('', ConfigIndex.as_view(), name='Config Management'), + +] diff --git a/app/config_management/views.py b/app/config_management/views.py new file mode 100644 index 00000000..5cb69d88 --- /dev/null +++ b/app/config_management/views.py @@ -0,0 +1,18 @@ +from django.shortcuts import render +from django.views import generic + + +class ConfigIndex(generic.View): + + permission_required = 'itam.view_device' + + template_name = 'form.html.j2' + + + def get(self, request): + + context = {} + + context['content_title'] = 'Config Management' + + return render(request, self.template_name, context)