Feat(Project Hub): Apply for Founding Partner Program page created with database structure and methods.
This commit is contained in:
31
models/model_view_apply_founding_partner.py
Normal file
31
models/model_view_apply_founding_partner.py
Normal file
@@ -0,0 +1,31 @@
|
||||
"""
|
||||
Project: PARTS Website
|
||||
Author: Edward Middleton-Smith
|
||||
Precision And Research Technology Systems Limited
|
||||
|
||||
Technology: View Models
|
||||
Feature: Apply Founding Partner View Model
|
||||
|
||||
Description:
|
||||
Data model for Apply Founding Partner view
|
||||
"""
|
||||
|
||||
# internal
|
||||
from business_objects.project_hub.apply_founding_partner_form import Apply_Founding_Partner_Form
|
||||
from models.model_view_base import Model_View_Base
|
||||
# from routes import bp_home
|
||||
from lib import argument_validation as av
|
||||
from forms.project_hub.apply_founding_partner import Form_Apply_Founding_Partner
|
||||
# external
|
||||
from flask_wtf import FlaskForm
|
||||
from abc import abstractproperty
|
||||
from pydantic import BaseModel
|
||||
from typing import ClassVar
|
||||
|
||||
class Model_View_Apply_Founding_Partner(Model_View_Base):
|
||||
|
||||
form_apply_founding_partner: Form_Apply_Founding_Partner
|
||||
|
||||
def __init__(self, form_apply_founding_partner, hash_page_current=Model_View_Base.HASH_PAGE_APPLY_FOUNDING_PARTNER, **kwargs):
|
||||
super().__init__(hash_page_current=hash_page_current, form_apply_founding_partner=form_apply_founding_partner, **kwargs)
|
||||
self._title = 'Apply Founding Partner'
|
||||
Reference in New Issue
Block a user