diff --git a/johar/urls.py b/johar/urls.py index fccc9c1..bc74e27 100644 --- a/johar/urls.py +++ b/johar/urls.py @@ -20,8 +20,8 @@ urlpatterns = [ path('admin/', admin.site.urls), - path('news/', include('news.api.urls')), - path('news/feedback/', include('feedback.api.urls')), + path('api/news/', include('news.api.urls')), + path('api/news/feedback/', include('feedback.api.urls')), ] urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)