mpdavis/319-project — pull request #6 by computmaxer (2012-10-10 06:37:16+00:00)
Title: Beginnings of Create New Tournament Wizard

In addition to working on the create tournament wizard, I've also done these things in this branch, because they ended up being part of this wizard:

--Switched to Jinja templates.
They are a little different, and that's slightly frustrating at first. But so far I still think they are better than the now-depricated webapp version of django templates.

--Templates are now referenced relative to the templates directory.
No longer need to include 'templates/' when writing the path to the template, thanks to Jinja templates.

--Added render_form and render_field as contextfunctions.
"Template Tags" are called "Extensions" in Jinja, and they are a lot more complicated. A simpler version is a contextfunction, which is called like this: {{ render_form(form) }}
So I implemented render_form() and render_field() like that. Uses bootstrap styling, including errors.