Preparations for strokedata API
This commit is contained in:
@@ -28,7 +28,7 @@ database_url = 'mysql://{user}:{password}@{host}:{port}/{database_name}'.format(
|
||||
port=port,
|
||||
)
|
||||
|
||||
if settings.DEBUG:
|
||||
if settings.DEBUG or user=='':
|
||||
database_url = 'sqlite:///db.sqlite3'
|
||||
|
||||
engine = create_engine(database_url, echo=False)
|
||||
|
||||
Reference in New Issue
Block a user