On Jul 5, 3:32 pm, ddghl <djkrauks...@gmail.com> wrote: > Help guys i need append or join django title = > db.StringProperty(required=True)
db.StringProperty is not Django - are you sure you're at the right place ? But anyway, assuming you're using Django's templating system > now is <title>{{ article.title }}</title> => "Bla bla bla" but i need > > <title>{{ article.title + string or global variable }}</title> <title>{{ article.title }} and some more text</title> <title>{{ article.title }} {{ some_var }}</title> <title>{{ article.title }} {{ some_var.some_attribute }}</title> for the second and third examples you obviously need to have "some_var" in the template's context, whether from the view or from a context_processor. FWIW, all this is fairly well documented in the FineManual(tm): https://docs.djangoproject.com/en/1.3/topics/templates/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.