feat: initial commit - Band Management application

This commit is contained in:
2026-01-06 03:11:46 +01:00
commit 34e12e00b3
24543 changed files with 3991790 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
# Register your models here.

View File

@@ -0,0 +1,6 @@
from django.apps import AppConfig
class SampleConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "apps.sample"

View File

@@ -0,0 +1,2 @@
# Create your models here.

View File

@@ -0,0 +1,12 @@
{% extends layout_path %}
{% load i18n %}
{% block title %}Page 1 - Starter Kit{% endblock title %}
{% block content %}
<h4 class="py-4 mb-6">Page 1</h4>
<p>Sample page.<br />For more layout options, refer <a href="{% get_theme_variables 'documentation' %}" target="_blank" class="fw-medium">Layout docs</a>.</p>
{% endblock %}

View File

@@ -0,0 +1,12 @@
{% extends layout_path %}
{% load i18n %}
{% block title %}Page 2 - Starter Kit{% endblock title %}
{% block content %}
<h4 class="py-4 mb-6">Page 2</h4>
<p>Sample page.<br />For more layout options, refer <a href="{% get_theme_variables 'documentation' %}" target="_blank" class="fw-medium">Layout docs</a>.</p>
{% endblock %}

View File

@@ -0,0 +1,2 @@
# Create your tests here.

View File

@@ -0,0 +1,16 @@
from django.urls import path
from .views import SampleView
urlpatterns = [
path(
"",
SampleView.as_view(template_name="index.html"),
name="index",
),
path(
"page_2/",
SampleView.as_view(template_name="page_2.html"),
name="page-2",
),
]

View File

@@ -0,0 +1,18 @@
from django.views.generic import TemplateView
from web_project import TemplateLayout
"""
This file is a view controller for multiple pages as a module.
Here you can override the page view layout.
Refer to sample/urls.py file for more pages.
"""
class SampleView(TemplateView):
# Predefined function
def get_context_data(self, **kwargs):
# A function to init the global layout. It is defined in web_project/__init__.py file
context = TemplateLayout.init(self, super().get_context_data(**kwargs))
return context