zmiany w wygladzie i nowe funkcje

This commit is contained in:
Mateusz Gruszczyński
2025-03-08 09:22:32 +01:00
parent 79d777d9b3
commit 0669d1ba6b
14 changed files with 438 additions and 203 deletions

14
config.example.py Normal file
View File

@@ -0,0 +1,14 @@
# config.py
class Config:
SQLALCHEMY_DATABASE_URI = 'sqlite:///baza.db'
SECRET_KEY = 'tajny_klucz'
# Konfiguracja rejestracji i admina
ALLOW_REGISTRATION = False
MAIN_ADMIN_USERNAME = 'admin'
MAIN_ADMIN_PASSWORD = 'admin'
# Konfiguracja ochrony przed indeksowaniem
BLOCK_BOTS = True
CACHE_CONTROL_HEADER = "max-age=10"
ROBOTS_TAG = "noindex, nofollow, nosnippet, noarchive"