Re: i save text with html in djanfo admin and when out its ilegible
On Mon, Jul 4, 2011 at 10:12 PM, Andres Pardiniwrote: > i follow this tutorial for rich text editor > > http://lazutkin.com/blog/2011/mar/13/using-dojo-rich-editor-djangos-admin/ > How is this when compared with tinymce? -V http://blizzardzblogs.blogspot.com/ -- 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.
Re: i save text with html in djanfo admin and when out its ilegible
Hi again, 2011/7/4 Kase> me too.. but i dont know other options for format text > i follow this tutorial for rich text editor http://lazutkin.com/blog/2011/mar/13/using-dojo-rich-editor-djangos-admin/ when you output the text put something like this: {{ notice.title }} {{ notice.content|safe }} the safe filter is what you are looking i think https://docs.djangoproject.com/en/1.3/ref/templates/builtins/#safe -- 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.
Re: i save text with html in djanfo admin and when out its ilegible
me too.. but i dont know other options for format text in i need deliver in 30 minuts! an i finish! what do you do for a sistem like a blog? PD: i put tiny_mce (not the app) the js and edit the admin template... but the format of tinymce dont work too =/ On 4 jul, 07:41, Andres Pardiniwrote: > 2011/7/4 Kase > > > Works!! thx > > > but i dont like put ever > > > > i dont think its right save html tag in database unless its a blog like > webpage,,, > > my opinion -- 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.
Re: i save text with html in djanfo admin and when out its ilegible
2011/7/4 Kase> Works!! thx > > but i dont like put ever > > i dont think its right save html tag in database unless its a blog like webpage,,, my opinion -- 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.
Re: i save text with html in djanfo admin and when out its ilegible
Works!! thx but i dont like put ever {% autoescape off %} On 4 jul, 07:08, Kenneth Gonsalveswrote: > On Mon, 2011-07-04 at 05:06 -0700, Kase wrote: > > example > > {% autoescape on %} > > {{grup.grupo}} > > {% endautoescape %} > > {% autoescape off %} > {{grup.grupo}} > {% endautoescape %} > -- > regards > KGhttp://lawgon.livejournal.com > Coimbatore LUG roxhttp://ilugcbe.techstud.org/ -- 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.
Re: i save text with html in djanfo admin and when out its ilegible
On Mon, 2011-07-04 at 05:06 -0700, Kase wrote: > example > {% autoescape on %} > {{grup.grupo}} > {% endautoescape %} {% autoescape off %} {{grup.grupo}} {% endautoescape %} -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- 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.
Re: i save text with html in djanfo admin and when out its ilegible
no... autoescape on dont work forceescape dont work =/ autoescape off dont work =/ example {% autoescape on %} {{grup.grupo}} {% endautoescape %} On 4 jul, 06:47, Kenneth Gonsalveswrote: > On Mon, 2011-07-04 at 04:02 -0700, Kase wrote: > > and i dont know who to fix it... > > search in the docs for autoescape. > -- > regards > KGhttp://lawgon.livejournal.com > Coimbatore LUG roxhttp://ilugcbe.techstud.org/ -- 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.
Re: i save text with html in djanfo admin and when out its ilegible
On Mon, 2011-07-04 at 04:02 -0700, Kase wrote: > and i dont know who to fix it... search in the docs for autoescape. -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- 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.