| Total Complexity | 0 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import os |
||
| 2 | |||
| 3 | # Statement for enabling the development environment |
||
| 4 | DEBUG = False |
||
| 5 | |||
| 6 | # Define the application directory |
||
| 7 | BASE_DIR = os.path.abspath(os.path.dirname(__file__)) |
||
| 8 | |||
| 9 | # Define the database - we are working with |
||
| 10 | # SQLite for this example |
||
| 11 | DATABASE = os.path.join(BASE_DIR, 'chaoswg.sqlite') |
||
| 12 | |||
| 13 | # Application threads. A common general assumption is |
||
| 14 | # using 2 per available processor cores - to handle |
||
| 15 | # incoming requests using one and performing background |
||
| 16 | # operations using the other. |
||
| 17 | # THREADS_PER_PAGE = 2 |
||
| 18 | |||
| 19 | # Enable protection agains *Cross-site Request Forgery (CSRF)* |
||
| 20 | CSRF_ENABLED = True |
||
| 21 | |||
| 22 | |||
| 23 | ########################################################## |
||
| 24 | # Overwrite the following default keys in user-config.py # |
||
| 25 | ########################################################## |
||
| 26 | |||
| 27 | # Use a secure, unique and absolutely secret key for signing the data |
||
| 28 | CSRF_SESSION_KEY = "tBhlIlMKzzqK2ml5Dh4bq3D25lA53NZO" |
||
| 29 | |||
| 30 | # Secret key for signing cookies |
||
| 31 | SECRET_KEY = "Iq8IBfxayJGLFa70XDHIVqF9g0mLaqv4" |
||
| 32 | |||
| 33 | # Invite key is needed for registration |
||
| 34 | INVITE_KEY = "IWantToHelpNow!!!FZZ§(AfajDJD2djdaFA29da" |
||
| 35 |