EuroPython / djep

EuroPython 2014 conference software
https://ep2014.europython.eu/
BSD 3-Clause "New" or "Revised" License
36 stars 18 forks source link

Fix links in session list views #182

Closed MarkusH closed 10 years ago

MarkusH commented 10 years ago

Apparently, this issue is somewhat weird: Having a Django-CMS app attached to a menu item, the URLs in the referred app are added, prefixed with the URL of the page. however, the URL names are still being used. Depending on the order of your URL definitions in your projects urls.py, you might end up with a URL pointing to the cms-prefixed URL rather than the intended (direct) URL.

Furthermore, using absolute URLs (http://example.com/foo/bar/) as redirect targets on CMS pages has some implications I haven't fully understood yet. Instead use (/foo/bar/ if it is the same domain).