Thanks, I was starting to try stupid things because I just wasn't getting it right.
I could simply pass in the article with: {{ data|safe }} Thanks for the help. Vernon On Jan 29, 11:59 am, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Jan 29, 8:40 am, Namibnat <frantic.natural...@gmail.com> wrote: > > > If I have a "km<sup>2</sup>" within a Sqlite3 database, how do I > > format the superscript to show right once it is displayed in the > > template. I have tried python "\xb2" mark-up, the normal HTML "sup" > > tags and I have tried to figure out a way to pass it with the normal > > Django variable mechanism. I am still new to Django and I don't have > > much database experience..which is why I want to use Sqlite3 for now. > > > Would I be best off to rather save it to a file and simply save a url > > to the Sqlite database? Wouldn't that make it slower? This isn't a > > blog post, but what is the normal way that those writing a blog post > > would deal with this kind of thing? > > > I want to automate it if I can, because it is going to be used in a > > number of articles that get pulled up at random to the home page of > > the website. > > This question has nothing whatever to do with sqlite3, or any database > at all for that matter. > > Read this:http://docs.djangoproject.com/en/1.1/topics/templates/#id2 > -- > DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.