Skip to content

Commit

Permalink
Optional SECRET_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
dyakovri authored Nov 14, 2022
1 parent 2f469ad commit 51e9aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion print_service/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Settings(BaseSettings):
ROOT: Optional[HttpUrl] = None
DB_DSN: PostgresDsn = 'postgresql://postgres@localhost:5432/postgres'

SECRET_KEY: str
SECRET_KEY: Optional[str]

CONTENT_TYPES: List[str] = ['application/pdf']
MAX_SIZE: int = 5000000 # Максимальный размер файла в байтах
Expand Down

0 comments on commit 51e9aa7

Please sign in to comment.