1. New Router and Base Page Class architecture to avoid circular references and conform to module bundler requirements. \n 2. Relative path bug fix for lib/validation.js file to work using module bundler.
This commit is contained in:
24
models/model_view_license.py
Normal file
24
models/model_view_license.py
Normal file
@@ -0,0 +1,24 @@
|
||||
"""
|
||||
Project: PARTS Website
|
||||
Author: Edward Middleton-Smith
|
||||
Precision And Research Technology Systems Limited
|
||||
|
||||
Technology: Legal View Models
|
||||
Feature: License View Model
|
||||
|
||||
Description:
|
||||
Data model for license view
|
||||
"""
|
||||
|
||||
# internal
|
||||
from models.model_view_base import Model_View_Base
|
||||
# from routes import bp_home
|
||||
# external
|
||||
|
||||
class Model_View_License(Model_View_Base):
|
||||
@property
|
||||
def title(self):
|
||||
return 'License'
|
||||
def __init__(self, hash_page_current=Model_View_Base.HASH_PAGE_LICENSE):
|
||||
super().__init__(hash_page_current=hash_page_current)
|
||||
|
||||
Reference in New Issue
Block a user