diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-04-12 10:29:29 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-04-12 10:29:29 +0200 |
| commit | c58caf5b8b8801ba826b0ff6b241d7f25a333bc8 (patch) | |
| tree | 45b22248fd4fbcf23046ef30707da8ff1f65c880 /config.py | |
| parent | e6939bb6421862a12048449094f2c55e6e9e401b (diff) | |
Added a more cleaner application
Diffstat (limited to 'config.py')
| -rw-r--r-- | config.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config.py b/config.py new file mode 100644 index 0000000..7d01933 --- /dev/null +++ b/config.py @@ -0,0 +1,16 @@ +class Config: + DEBUG = False + DEVELOPMENT = False + CSRF_ENABLED = True + ASSETS_DEBUG = False + + +class ProductionConfig(Config): + pass + + +class DevelopmentConfig(Config): + DEBUG = True + DEVELOPMENT = True + TEMPLATES_AUTO_RELOAD = True + ASSETS_DEBUG = True |
