@ -56,6 +56,7 @@ if settings.DEBUG:
|
||||
# Apps Under Development
|
||||
path("information/", include("information.urls")),
|
||||
path("config_management/", include("config_management.urls")),
|
||||
path("project_management/", include("project_management.urls")),
|
||||
]
|
||||
|
||||
# must be after above
|
||||
|
0
app/project_management/__init__.py
Normal file
0
app/project_management/__init__.py
Normal file
6
app/project_management/apps.py
Normal file
6
app/project_management/apps.py
Normal file
@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ProjectManagementConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'project_management'
|
0
app/project_management/migrations/__init__.py
Normal file
0
app/project_management/migrations/__init__.py
Normal file
1
app/project_management/models.py
Normal file
1
app/project_management/models.py
Normal file
@ -0,0 +1 @@
|
||||
from django.db import models
|
9
app/project_management/urls.py
Normal file
9
app/project_management/urls.py
Normal file
@ -0,0 +1,9 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import ProjectIndex
|
||||
|
||||
app_name = "Project Management"
|
||||
urlpatterns = [
|
||||
path('', ProjectIndex.as_view(), name='Projects'),
|
||||
|
||||
]
|
18
app/project_management/views.py
Normal file
18
app/project_management/views.py
Normal file
@ -0,0 +1,18 @@
|
||||
from django.shortcuts import render
|
||||
from django.views import generic
|
||||
|
||||
|
||||
class ProjectIndex(generic.View):
|
||||
|
||||
permission_required = 'itam.view_device'
|
||||
|
||||
template_name = 'form.html.j2'
|
||||
|
||||
|
||||
def get(self, request):
|
||||
|
||||
context = {}
|
||||
|
||||
context['content_title'] = 'Project Management'
|
||||
|
||||
return render(request, self.template_name, context)
|
Reference in New Issue
Block a user