Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Django/FeinCMS ignores language/country specific url-name

45 views
Skip to first unread message

g.j...@s-v.de

unread,
Oct 31, 2016, 12:53:50 PM10/31/16
to Django FeinCMS
Hello everybody,

I run into a problem with our Django (1.5.5) based application using FeinCMS (1.7.4).

For a page formerly only the (general) en-based version was configured. Later specific configurations for en-us and en-ca were added, with different url-names (than used by the en version). This had the consequence that (en-based) links that had been distributed (via marketing channels) prior to that change, didn't work anymore.

Playing around with the url-names I noticed, that Django/FeinCMS only honours the url-namewhich was edited last. Meaning, that ever only one url-name is recognised for all contexts (en, en-us and en-ca). The one which was edited/created last.

Based on comments I got on the same question at stackoverflow.com I investigated cms_page table in the DB a little. I noticed...
  1. That there is no row in cms_page which represents the country specific page configurations (e.g. for en-us and en-ca).
  2. Although the last-edited url-name and title are the ones of the country-specific configuration, meaning the one which "works", they don't show up in the table.
Does someone know a way to fix this? I've tried to find the "responsible" code, but without success. Creating manual redirects is no option as there are too many links to specific stories/articles.

Thanks a lot in advance!
Gabriel

Martin J. Laubach

unread,
Nov 2, 2016, 5:06:17 AM11/2/16
to Django FeinCMS
  1. That there is no row in cms_page which represents the country specific page configurations (e.g. for en-us and en-ca).
Colour me confused, there is, to my knowledge, no cms_page table in FeinCMS. And url-name doesn't ring a bell either. Are you sure you're actually using FeinCMS?

Cheers

g.j...@s-v.de

unread,
Nov 2, 2016, 5:59:58 AM11/2/16
to Django FeinCMS
Thanks a lot for the hint. You might got me there. I'm relatively new to Django/FeinCMS and definitely confused now.

I thought what is configured via Django-admin->CMS->Pages (which is where you e.g. can add language and country specific "pages" and find URL-Name as well) is related to FeinCMS. But obviously I don't know where FeinCMS begins and Django-CMS(?) ends.
I'm going to try to find a "clean" Django-Admin example to be able to compare it to our project. Maybe I'll have to rephrase my problem a little.

In any case, please see attached screenshots. You don't happen to know "what" component (Django, Django-CMS, FeinCMS, etc.) is responsible for the i18n related stuff like "Create country version for USA" (which includes the URL-Name field).

Cheers!
Admin-CMS-Pages.png
Admin-CMS-Pages-Page.png

Martin J. Laubach

unread,
Nov 2, 2016, 6:57:31 AM11/2/16
to Django FeinCMS
I don't know where FeinCMS begins and Django-CMS(?) ends.

I always thought FeinCMS and Django-CMS had no parts in common, but then I don't know a thing about Django-CMS. I can tell you that the screenshots do not come from FeinCMS though, so I guess it must be Django-CMS thing.

Sorry for not being able to help you...

g.j...@s-v.de

unread,
Nov 2, 2016, 7:15:15 AM11/2/16
to Django FeinCMS
Thank you, Martin!
Now I have a little more information on the context. ;)
Reply all
Reply to author
Forward
0 new messages