Minor tweaks to routes and frontend. Added generated routes from openapi.json
This commit is contained in:
1 parent
75b2b1e142
commit
39b99d5509
9 files changed
+8717
-8084
No files matched your search
@@ -83,6 +83,11 @@ class Settings(BaseSettings):
|
||||
def emails_enabled(self) -> bool:
|
||||
return bool(self.SMTP_HOST and self.EMAILS_FROM_EMAIL)
|
||||
|
||||
@computed_field
|
||||
@property
|
||||
def is_local_environment(self) -> bool:
|
||||
return self.ENVIRONMENT == "local"
|
||||
|
||||
EMAIL_TEST_USER: EmailStr = "test@example.com"
|
||||
FIRST_SUPERUSER: EmailStr
|
||||
FIRST_SUPERUSER_PASSWORD: str
|
||||
|
||||
Reference in new issue
Block a user