1.started removal of CDNs.\n 2. Improved modular structure for all parts of project including database.

This commit is contained in:
2024-08-30 23:27:28 +01:00
parent 18977c8cac
commit f9cd9ec33a
2895 changed files with 490579 additions and 7561 deletions

View File

@@ -0,0 +1,27 @@
"""
Project: PARTS Website
Author: Edward Middleton-Smith
Precision And Research Technology Systems Limited
Technology: View Models
Feature: Admin Home View Model
Description:
Data model for admin home view
"""
# internal
from models.model_view_admin import Model_View_Admin
# external
from pydantic import BaseModel
from typing import ClassVar
class Model_View_Admin_Home(Model_View_Admin):
@property
def title(self):
return 'Admin Home'
def __init__(self, hash_page_current=Model_View_Admin.HASH_PAGE_ADMIN_HOME):
super().__init__(hash_page_current=hash_page_current)