I also feel obligated to mention that you don't have to use HTML. If you
prefer some sort of markup, look here:
http://code.djangoproject.com/wiki/UsingMarkup

-justin

On Thu, Mar 27, 2008 at 7:55 PM, Justin Lilly <[EMAIL PROTECTED]> wrote:

> You're being affected by a relatively new feature: Autoescaping HTML.  You
> can find more information at this link:
>
> http://www.djangoproject.com/documentation/templates/#automatic-html-escaping
>
> -justin
>
>
> On Thu, Mar 27, 2008 at 7:32 PM, Floyd Arguello <[EMAIL PROTECTED]>
> wrote:
>
> >
> > Hi djangoers,
> >
> > I'm learning Django by setting up a blog per instructions here (combined
> > with code from djangoproject.com svn):
> > http://www.rossp.org/blog/2006/jun/08/django-blog-redux/
> >
> > Most things work, except I enter raw html when posting the blog through
> > the admin interface, and the raw html is displayed on the page.
> >
> > I enter raw html when editing flatpages, and that renders properly in my
> > browser.
> >
> > Also, I use the slug as part of my post urls; but they only work when I
> > use text... I would also like to use hyphens.
> >
> > I'm using latest django svn, python 2.4.3, RHEL5, Apache2.2 w/
> > mod_python.
> >
> > models.py:
> > import datetime
> > from django.db import models
> >
> > class Post(models.Model):
> >     pub_date = models.DateTimeField()
> >     slug = models.SlugField(unique_for_date='pub_date')
> >     headline = models.CharField(max_length=200)
> >     summary = models.TextField(help_text="post summary - use html")
> >     body = models.TextField(help_text="Body Text - can use html")
> >     author = models.CharField(max_length=100)
> >
> >
> > Thanks,
> > Floyd
> >
> > > >
> >
>
>
> --
> Justin Lilly
> Web Developer/Designer
> http://justinlilly.com
>



-- 
Justin Lilly
Web Developer/Designer
http://justinlilly.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to