To go a bit further: never use TextEdit to edit source code of any kind,
even in plain text mode. It's simply not designed for that. TextWrangler
makes a great source editor and has some very handy features. However,
for full-blown projects with many source files, etc. you may find it
easier to use
Text Wranger is a plain-text only editor, whereas TextEdit is a rich
text editor by default (you can toggle plain text). This means that when
you type HTML characters in to TextEdit, such as
*Blah*, you're not getting true *<>* characters, but
something like *<* (<) and *>* (>). So your template pr
I am SO SORRY, and in the future I promise to wait at least a week before
posting my problems to see if I can figure it out in the meantime. I fixed
this by saving the file in TextWrangler instead of TextEdit, and now it
interprets the HTML properly. If anyone knows *why* this fixes the problem,
I'm currently going through the Django tutorial, and everything was going
perfectly smoothly until the template part. This is what I always get for
the polls/index.html:
http://pastebin.com/ng9iGNRp
I noticed that it gets everything right (the {{ poll.id }} is 1, there's no
other error) but ju
4 matches
Mail list logo