Mercurial > public > sg101
annotate gpp/templates/forums/new_topic.html @ 515:ae89ba801e8b
For #194, convert the POTD management command to a celery task.
Refactored to put the logic for the command into a function, and the command simply calls this function. The task can also just call this function. Added some basic tests for the new function.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 14 Dec 2011 02:41:15 +0000 |
parents | 8fd4984d5c3b |
children |
rev | line source |
---|---|
bgneal@83 | 1 {% extends 'base.html' %} |
bgneal@127 | 2 {% load forum_tags %} |
bgneal@83 | 3 {% block title %}Forums: New Topic{% endblock %} |
bgneal@95 | 4 {% block custom_js %}{{ form.media }}{% endblock %} |
bgneal@83 | 5 {% block content %} |
bgneal@283 | 6 {% forum_navigation forum "New Topic" %} |
bgneal@83 | 7 |
bgneal@285 | 8 {% show_form "New Topic" form "Submit" 0 %} |
bgneal@83 | 9 {% endblock %} |