Commit 6193feadf873a5e6c0f33d0385c013d98aa860cc
1 parent
c9cfd621
Exists in
master
and in
39 other branches
Minor fix on models
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/badger/models.py
... | ... | @@ -19,12 +19,12 @@ class Badge(models.Model): |
19 | 19 | (u'messages', _(u'Messages')), |
20 | 20 | (u'contributions', _(u'Contributions')), |
21 | 21 | (u'wikis', _(u'Wikis')), |
22 | - (u'codes', _(u'Codes')), | |
22 | + (u'revisions', _(u'Revisions')), | |
23 | 23 | (u'tickets', _(u'Ticket')), |
24 | 24 | ) |
25 | 25 | title = models.CharField(_(u'Title'), max_length=200) |
26 | 26 | description = models.CharField(_(u'Description'), max_length=200) |
27 | - image = models.ImageField(upload_to=u'badges') | |
27 | + image = models.ImageField(upload_to='badges') | |
28 | 28 | type = models.CharField(_(u'Type'), max_length=200, choices=TYPE_CHOICES) |
29 | 29 | user_attr = models.CharField( |
30 | 30 | _(u'User attribute'),max_length=100, | ... | ... |