On Tuesday 23 May 2017 07:08:55 Jaap van Wingerde wrote:
> In my templates I have variables as {{ artobject.title|safe|capfirst
> }}. I want the site in more languages.So in changed the model: title
> changed in title_nl, and I appended title_de, title_en, title_fr.

You're trying to solve what Django Modeltranslation[1] already did. 
Allthough, it can be hard working with it in the beginning stage of a project 
as models change structure a lot, it should be a breeze when data model 
is stable.

-- 
Melvyn Sopacua

--------
[1] https://djangopackages.org/packages/p/django-modeltranslation/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6438083.x5HJ6SoEuk%40devstation.
For more options, visit https://groups.google.com/d/optout.

Reply via email to