mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-01-16 13:02:08 +01:00
Implement data integration tasks with Celery, including periodic fetching and manual refresh of chat data; add utility functions for data processing and transcript handling; create views and URLs for manual data refresh; establish Redis and Celery configuration; enhance error handling and logging; introduce scripts for data cleanup and fixing dashboard data; update documentation for Redis and Celery setup and troubleshooting.
This commit is contained in:
@ -31,7 +31,15 @@ def main():
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dashboard_project.settings")
|
||||
|
||||
# For specific commands, insert the command name at the start of argv
|
||||
if cmd_name in ["runserver", "migrate", "makemigrations", "collectstatic", "createsuperuser", "shell", "test"]:
|
||||
if cmd_name in [
|
||||
"runserver",
|
||||
"migrate",
|
||||
"makemigrations",
|
||||
"collectstatic",
|
||||
"createsuperuser",
|
||||
"shell",
|
||||
"test",
|
||||
]:
|
||||
sys.argv.insert(1, cmd_name)
|
||||
|
||||
# Execute the Django management command
|
||||
|
||||
Reference in New Issue
Block a user