Разделение настроект чата на local и baseremotes/origin/PR-46
parent
e556d365b5
commit
547d3ccc99
5 changed files with 26 additions and 2 deletions
@ -0,0 +1,16 @@ |
||||
import os |
||||
|
||||
PORT = 8888 |
||||
|
||||
settings = { |
||||
'cookie_secret': '__TODO:_GENERATE_YOUR_OWN_RANDOM_VALUE_HERE__', |
||||
'template_path': os.path.join(os.path.dirname(__file__), 'templates'), |
||||
'static_path': os.path.join(os.path.dirname(__file__), 'static'), |
||||
'login_url': '/login', |
||||
'xsrf_cookies': True, |
||||
'debug': True, |
||||
'autoreload': True, |
||||
'server_traceback': True, |
||||
} |
||||
|
||||
DATABASE_DSN = 'dbname=archilance user=postgres password=postgres host=localhost' |
||||
@ -0,0 +1,6 @@ |
||||
from .base import * |
||||
|
||||
try: |
||||
from .local import * |
||||
except ImportError: |
||||
pass |
||||
Loading…
Reference in new issue