Mercurial > public > sg101
diff gpp/polls/models.py @ 367:cb121a3abf46
Fixing #176; add a side block for current polls.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 05 Mar 2011 20:54:26 +0000 |
parents | dbd703f7d63a |
children | 1f139de929c4 |
line wrap: on
line diff
--- a/gpp/polls/models.py Sat Mar 05 19:40:31 2011 +0000 +++ b/gpp/polls/models.py Sat Mar 05 20:54:26 2011 +0000 @@ -1,7 +1,7 @@ -''' +""" Models for the Polls application. -''' +""" import datetime from django.db import models from django.db.models import Q @@ -30,7 +30,7 @@ start_date = models.DateTimeField(db_index=True, help_text='Date/time the poll will be eligible for voting.',) end_date = models.DateTimeField(blank=True, null=True, db_index=True, - help_text='Date/time the poll will be ineligible for voting. '\ + help_text='Date/time the poll will be ineligible for voting. ' 'Leave blank for an open ended poll.') is_enabled = models.BooleanField(default=True, db_index=True, help_text='Check to allow the poll to be viewed on the site.')