File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ Prepare a configuration file at `gastitis/secret_settings.py` with the following
2727``` python
2828TELEGRAM_BOT_TOKEN = ' ' # Place your bot token here.
2929
30- DJANGO_SECRET_KEY = ' ' # Generate a Django secret key (see https://docs.djangoproject.com/en/4.1/ref/settings/#secret-key).
30+ DJANGO_SECRET_KEY = ' ' # Generate a Django secret key (any random string) ( see https://docs.djangoproject.com/en/4.1/ref/settings/#secret-key).
3131
32- DATABASE_SETTINGS = None # Use 'None' to run Gastitis with SQLite.
32+ SQLITE_DATABASE_SETTINGS = None # Use 'None' to run Gastitis with SQLite.
3333
34- DATABASE_SETTINGS = { # Use these settings for a specific database (e.g., PostgreSQL).
34+ POSTGRESQL_DATABASE_SETTINGS = { # Use these settings for a specific database (e.g., PostgreSQL).
3535 ' ENGINE' : ' django.db.backends.postgresql' ,
3636 ' NAME' : ' ' , # Database name.
3737 ' USER' : ' ' , # Database username.
@@ -40,6 +40,8 @@ DATABASE_SETTINGS = { # Use these settings for a specific database (e.g., Postg
4040 ' PORT' : ' 5432' ,
4141}
4242
43+ DATABASE_SETTINGS = SQLITE_DATABASE_SETTINGS # Choose SQLITE_DATABASE_SETTINGS or POSTGRESQL_DATABASE_SETTINGS
44+
4345BETA_USERS = [' your_telegram_username' ] # List of Telegram usernames allowed to access beta features and commands
4446```
4547
You can’t perform that action at this time.
0 commit comments