Closed adambirds closed 1 year ago
Yes, simply ensure that the Django and Next URLs match. Take this as an example:
# Django's urls.py
urlpatterns = [
path("companies/<str:slug>", nextjs_pages.company, name="company"),
]
# in Next.js pages directory
❯ tree
.
└── companies
└── [slug]
└── index.tsx
Does this support dynamic routing such as passing a slug?