from django.utils.translation import ugettext as _
from django.contrib.humanize.templatetags.humanize import apnumber
from django.utils.translation import ugettext as _
from django.contrib.humanize.templatetags.humanize import apnumber
from django.utils.safestring import mark_safe
from general import NextUrlField, UserNameField, SetPasswordForm
from django.utils.safestring import mark_safe
from general import NextUrlField, UserNameField, SetPasswordForm
def __init__(self, *args, **kwargs):
super(TitleField, self).__init__(*args, **kwargs)
self.required = True
def __init__(self, *args, **kwargs):
super(TitleField, self).__init__(*args, **kwargs)
self.required = True
- (r[0], u'%s - %s (%s) %s' % (r[0], r[1], r[2].strftime(date_format), r[3]))
+ (r[0], u'%s - %s (%s) %s' % (r[0], smart_unicode(r[1]), r[2].strftime(date_format), r[3]))