mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
use newsblur_web instead of newsblur as directory for settings file
This commit is contained in:
parent
856eb299ce
commit
7241d9118c
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
from __future__ import absolute_import, unicode_literals
|
from __future__ import absolute_import, unicode_literals
|
||||||
import os
|
import os
|
||||||
from celery import Celery
|
from celery import Celery
|
||||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'NewsBlur.settings')
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'newsblur_web.settings')
|
||||||
|
|
||||||
app = Celery('NewsBlur')
|
app = Celery('NewsBlur')
|
||||||
app.config_from_object('django.conf:settings', namespace='CELERY')
|
app.config_from_object('django.conf:settings', namespace='CELERY')
|
||||||
|
|
|
@ -7,7 +7,7 @@ import redis
|
||||||
import pyes
|
import pyes
|
||||||
|
|
||||||
if os.getenv("DOCKERBUILD") == "True":
|
if os.getenv("DOCKERBUILD") == "True":
|
||||||
import newsblur.docker_local_settings as settings
|
import newsblur_web.docker_local_settings as settings
|
||||||
else:
|
else:
|
||||||
import flask_monitor.flask_settings as settings
|
import flask_monitor.flask_settings as settings
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "newsblur.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "newsblur_web.settings")
|
||||||
|
|
||||||
from django.core.management import execute_from_command_line
|
from django.core.management import execute_from_command_line
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue