Upload files to "asset"

Signed-off-by: nestict <developer@nestict.com>
This commit is contained in:
2026-01-16 12:47:27 +01:00
parent 4d615fe6ea
commit cd1cd2e83a
12 changed files with 3430 additions and 0 deletions

33
asset/apps.py Normal file
View File

@@ -0,0 +1,33 @@
"""
Module: apps.py
Description: Configuration for the 'asset' app.
"""
from django.apps import AppConfig
class AssetConfig(AppConfig):
"""
Class: AssetConfig
Description: Configuration class for the 'asset' app.
Attributes:
default_auto_field (str): Default auto-generated field type for primary keys.
name (str): Name of the app.
"""
default_auto_field = "django.db.models.BigAutoField"
name = "asset"
def ready(self):
from django.urls import include, path
from horilla.horilla_settings import APP_URLS, APPS
from horilla.urls import urlpatterns
APPS.append("asset")
urlpatterns.append(
path("asset/", include("asset.urls")),
)
APP_URLS.append("asset.urls")
super().ready()