Answer the question
In order to leave comments, you need to log in
How to properly enable mptt_url?
The site uses MPTT.
Example from urls.py
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^(?P<path>.*)',
mptt_urls.view(model=Page, view=views.page_view, slug_field='slug'),
{}, name='page'),
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question