Skip to content

Commit

Permalink
celery setup
Browse files Browse the repository at this point in the history
  • Loading branch information
othreecodes committed Nov 12, 2017
1 parent 07b4846 commit 74d7afe
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 1 deletion.
Binary file added dump.rdb
Binary file not shown.
22 changes: 22 additions & 0 deletions manage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env python
import os
import sys

if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "poorlydrawn.config.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure that the
# issue is really that Django is missing to avoid masking other
# exceptions on Python 2.
try:
import django
except ImportError:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
)
raise
execute_from_command_line(sys.argv)
1 change: 1 addition & 0 deletions poorlydrawn/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .config import *
Binary file removed poorlydrawn/celerybeat-schedule.db
Binary file not shown.
2 changes: 1 addition & 1 deletion poorlydrawn/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
},
]

WSGI_APPLICATION = 'config.wsgi.application'
WSGI_APPLICATION = 'poorlydrawn.config.wsgi.application'


# Database
Expand Down

0 comments on commit 74d7afe

Please sign in to comment.