Minor update for sites and domains
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
from __future__ import annotations
|
||||
import datetime, hashlib, logging, os, pytz, redis, secrets
|
||||
|
||||
from typing import Dict, List, Optional, Set, Union
|
||||
@@ -62,5 +61,3 @@ class Site_Domain_Base(BaseModel):
|
||||
class Config:
|
||||
underscore_attrs_are_private = True
|
||||
fields = base_fields
|
||||
|
||||
Site_Domain_Base.update_forward_refs()
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
from __future__ import annotations
|
||||
import datetime, hashlib, logging, os, pytz, redis, secrets
|
||||
|
||||
from typing import Dict, List, Optional, Set, Union
|
||||
@@ -57,10 +56,12 @@ class Site_Base(BaseModel):
|
||||
#html_tagline: Optional[str] = None
|
||||
|
||||
logo_filename: Optional[str]
|
||||
banner_image_filename: Optional[str]
|
||||
banner_html: Optional[str]
|
||||
banner_image_filename: Optional[str] # Old naming
|
||||
banner_html: Optional[str] # Old naming
|
||||
site_title: Optional[str]
|
||||
site_menu_html_path: Optional[str]
|
||||
site_header_html: Optional[str]
|
||||
site_header_css: Optional[str]
|
||||
site_header_h1: Optional[str]
|
||||
site_header_h2: Optional[str]
|
||||
site_body: Optional[str]
|
||||
@@ -103,5 +104,3 @@ class Site_Base(BaseModel):
|
||||
underscore_attrs_are_private = True
|
||||
allow_population_by_field_name = True
|
||||
fields = base_fields
|
||||
|
||||
Site_Base.update_forward_refs()
|
||||
|
||||
Reference in New Issue
Block a user