summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikaël Ates <mates@entrouvert.com>2014-10-03 07:59:55 (GMT)
committerMikaël Ates <mates@entrouvert.com>2014-10-03 07:59:55 (GMT)
commit513fe1bdda1a21f24053b6bd5e25da96e6cfc84e (patch)
tree232eed4109da97a74cb4bcbc76d9a087b57c5929
parenta869df8f3d5ab8e773540b5099a4781a5958f992 (diff)
downloadcalebasse-513fe1bdda1a21f24053b6bd5e25da96e6cfc84e.zip
calebasse-513fe1bdda1a21f24053b6bd5e25da96e6cfc84e.tar.gz
calebasse-513fe1bdda1a21f24053b6bd5e25da96e6cfc84e.tar.bz2
Remove trailing whitespaces in models root file.
-rw-r--r--calebasse/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/calebasse/models.py b/calebasse/models.py
index b458a90..0cc1148 100644
--- a/calebasse/models.py
+++ b/calebasse/models.py
@@ -97,7 +97,7 @@ class WeekRankField(models.PositiveIntegerField):
return None
def formfield(self, **kwargs):
- defaults = {'required': not self.blank, 'label': capfirst(self.verbose_name),
+ defaults = {'required': not self.blank, 'label': capfirst(self.verbose_name),
'help_text': self.help_text, 'choices': self.get_choices(include_blank=False)}
if self.has_default():
defaults['initial'] = self.get_default()
@@ -106,4 +106,3 @@ class WeekRankField(models.PositiveIntegerField):
from south.modelsinspector import add_introspection_rules
add_introspection_rules([], ["^calebasse\.models\..*Field"])
-