Total Complexity | 1 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | # -*- coding: utf-8 -*- |
||
13 | @python_2_unicode_compatible |
||
14 | class DefaultRegistrationSupplement(RegistrationSupplementBase): |
||
15 | """A simple registration supplement model which requires remarks""" |
||
16 | remarks = models.TextField(_('remarks')) |
||
17 | |||
18 | def __str__(self): |
||
19 | """return a summary of this addition""" |
||
20 | return self.remarks |
||
21 | |||
22 | # it is required to specify from django 1.6 |
||
23 | class Meta: |
||
24 | app_label = 'registration' |
||
25 |