> Today, after updating django to revision 6678 method 'allow_tags'
> doesn't work. Despite it is set to True I've got html code.
mark_safe() is a solution e.g.
from django.utils.safestring import mark_safe
class Ewidencja(models.Model):
...
data_przyjecia = models.DateField('data przyj
Today, after updating django to revision 6678 method 'allow_tags'
doesn't work. Despite it is set to True I've got html code.
Regards,
WW
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
You can change your template, eg. in change_list_results.html I did
something like this:
{% for result in results %}
{% for item in result %}{% ifequal
item "(None)" %}{% else %}{{ item }}{% endifequal %}
{% endfor %}
{% endfor %}
--~--~-~--~~~---~--~~
You rece
3 matches
Mail list logo