Skip to content

Commit 36c1e9a

Browse files
Merge pull request #8 from iosifnicolae2/main
fix some bugs
2 parents 2b2ae3f + 818bc7d commit 36c1e9a

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

superapp/__init__.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# This will make sure the app is always imported when
2-
# Django starts so that shared_task will use this app.
3-
from superapp.apps.tasks.celery_entrypoint import celery_app
4-
5-
__all__ = ('celery_app',)
1+
try:
2+
from superapp.apps.tasks.celery_entrypoint import celery_app
3+
__all__ = ('celery_app',)
4+
except ImportError:
5+
celery_app = None
6+
__all__ = ()

superapp/static/js/flowbite.min.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)