File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def configure_celery(project_name, type = 'redis'):
23
23
app .conf .broker_url = os .environ .get ('CELERY_BROKER' )
24
24
25
25
# Dynamically import schedules from {project_name}.friend_scheduler
26
- schedules_module = importlib .import_module (f'{ project_name } .friend_config .scheduler' )
26
+ schedules_module = importlib .import_module (f'{ project_name } .petra_config .scheduler' )
27
27
app .conf .beat_schedule = bind_beat_schedule (schedules = schedules_module .schedules )
28
28
29
29
# RedBeat Configuration
Original file line number Diff line number Diff line change 4
4
the_base_module_name = base_module_name ()
5
5
6
6
# Import CORS settings dynamically
7
- cors_module = importlib .import_module (f"{ the_base_module_name } .friend_config .cors" )
7
+ cors_module = importlib .import_module (f"{ the_base_module_name } .petra_config .cors" )
8
8
ALLOWED_METHODS = cors_module .ALLOWED_METHODS
9
9
ALLOWED_ORIGINS = cors_module .ALLOWED_ORIGINS
10
10
ALLOWED_ORIGINS_PATTERNS = cors_module .ALLOWED_ORIGINS_PATTERNS
You can’t perform that action at this time.
0 commit comments