Add IntelliJ IDEA project configuration files

This commit adds IntelliJ IDEA-specific configuration files for the project, including module setup, version control integration, inspection profiles, and workspace settings. These files facilitate development environment configuration for contributors using IntelliJ IDEA.
This commit is contained in:
2025-06-26 15:54:51 +03:00
parent 21800ea5e3
commit af8444c0e3
10 changed files with 1172 additions and 10 deletions
+9
View File
@@ -0,0 +1,9 @@
from django.urls import path
from common import views
urlpatterns = [
path('', views.IndexView.as_view(), name='index'),
path('client/dashboard/', views.ClientDashboardView.as_view(), name='client_dashboard'),
path ('client/preinfo/', views.ClientPreinfoView.as_view(), name='client_preinfo'),
path('dashboard/', views.DashboardRedirectView.as_view(), name='dashboard'),
]
+44 -1
View File
@@ -1,3 +1,46 @@
from django.shortcuts import render
from django.urls import reverse_lazy
from django.views.generic import TemplateView, RedirectView
from django.shortcuts import render, redirect
# Create your views here.
class IndexView(TemplateView):
template_name = 'landing-page.html'
extra_context = {
'title': 'Home',
'description': 'This is the home page of the container application.',
}
def get(self, request, *args, **kwargs):
return render(request, self.template_name, self.extra_context)
class DashboardRedirectView(RedirectView):
is_permanent = False
def get_redirect_url(self, *args, **kwargs):
if 1==1:
return reverse_lazy('client_dashboard')
return reverse_lazy('client_dashboard')
class ClientDashboardView(TemplateView):
template_name = 'client-dashboard.html'
extra_context = {
'title': 'Client Dashboard',
'description': 'This is the client dashboard page.',
}
def get(self, request, *args, **kwargs):
return render(request, self.template_name, self.extra_context)
class ClientPreinfoView(TemplateView):
template_name = 'client-preinfo.html'
extra_context = {
'title': 'Client Preinfo',
'description': 'This is the client preinfo page.',
}
def get(self, request, *args, **kwargs):
return render(request, self.template_name, self.extra_context)