gold eggs backend
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
This commit is contained in:
23
core/apps/home/urls.py
Executable file
23
core/apps/home/urls.py
Executable file
@@ -0,0 +1,23 @@
|
||||
"""
|
||||
Home app urls
|
||||
"""
|
||||
|
||||
from django.urls import path
|
||||
from django.urls import include
|
||||
|
||||
from rest_framework import routers
|
||||
|
||||
from core.apps.home import views
|
||||
|
||||
router = routers.DefaultRouter()
|
||||
router.register("", views.PostListView, basename="posts")
|
||||
|
||||
urlpatterns = [
|
||||
path(
|
||||
"messages/",
|
||||
views.FrontendTranslationView.as_view(),
|
||||
name="frontend-translation",
|
||||
), # noqa
|
||||
path("posts/", include(router.urls), name="posts"),
|
||||
path("", views.HomeView.as_view(), name="home"),
|
||||
]
|
||||
Reference in New Issue
Block a user