[Answered ]-Urls not working while integrating custom application with django-cms

1👍

Uh, I figured it out. Well the hard-coded URLs inside the app templates do not work. One should use {% url %} tags inside the templates.

👤Neo

1👍

What you need to do is create an apphook for your polls application and include the urls there. Have a look at: http://docs.django-cms.org/en/2.1.3/extending_cms/extending_examples.html#my-first-app-apphook

EDIT

Remember to restart the server once you attach the apphook.

0👍

Using apphooks would be the solution, however It works if you put the cms url route at last, at the end of the urlpatterns. Try that

Leave a comment