diff --git a/scripts/urls.py b/scripts/urls.py index 1ae83a9..25ded01 100644 --- a/scripts/urls.py +++ b/scripts/urls.py @@ -3,7 +3,7 @@ from . import views urlpatterns = [ - path('sync_equipment/', views.sync_equipment, name='sync_equipment'), - path('sync_muscle_groups/', views.sync_muscle_groups, name='sync_equipment'), - path('clear_redis/', views.sync_muscle_groups, name='sync_equipment'), + # path('sync_equipment/', views.sync_equipment, name='sync_equipment'), + # path('sync_muscle_groups/', views.sync_muscle_groups, name='sync_equipment'), + path('clear_redis/', views.clear_redis, name='clear_redis'), ] \ No newline at end of file diff --git a/werkout_api/urls.py b/werkout_api/urls.py index 86e2e6f..281a09e 100644 --- a/werkout_api/urls.py +++ b/werkout_api/urls.py @@ -13,7 +13,7 @@ urlpatterns = [ path('equipment/', include('equipment.urls')), path('registered_user/', include('registered_user.urls')), path('.well-known/apple-app-site-association', TemplateView.as_view(template_name='frontend/apple-app-site-association', content_type='application/json',)), - # path('scripts/', include('scripts.urls')), + path('scripts/', include('scripts.urls')), ] + static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT) if settings.DEBUG: