32 lines
832 B
Python
32 lines
832 B
Python
"""
|
|
Project: PARTS Website
|
|
Author: Edward Middleton-Smith
|
|
Precision And Research Technology Systems Limited
|
|
|
|
Technology: View Models
|
|
Feature: Contact View Model
|
|
|
|
Description:
|
|
Data model for contact view
|
|
"""
|
|
|
|
# internal
|
|
from models.model_view_base import Model_View_Base
|
|
# from routes import bp_home
|
|
from lib import argument_validation as av
|
|
# from forms.contact import Form_Contact
|
|
# external
|
|
from flask_wtf import FlaskForm
|
|
from abc import abstractproperty
|
|
from pydantic import BaseModel
|
|
from typing import ClassVar
|
|
|
|
class Model_View_Contact_Success(Model_View_Base):
|
|
|
|
@property
|
|
def title(self):
|
|
return 'Contact Success'
|
|
|
|
def __init__(self, hash_page_current=Model_View_Base.HASH_PAGE_CONTACT_SUCCESS, **kwargs):
|
|
super().__init__(hash_page_current=hash_page_current, **kwargs)
|