Changes between Initial Version and Version 1 of Ticket #18133
- Timestamp:
- Apr 15, 2012, 7:32:08 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18133
- Property Resolution → invalid
- Property Status new → closed
-
Ticket #18133 – Description
initial v1 1 1 hi, would it be possible to make label_suffix settable in settings file? now, if i want to change the suffix for the whole site, i have to have in my code something like this: 2 2 {{{ 3 3 class MyModelForm(forms.ModelForm): 4 4 … … 8 8 super(MyModelForm, self).__init__(data, files, auto_id, prefix, initial, 9 9 error_class, label_suffix, empty_permitted, instance) 10 11 10 }}} 11 {{{ 12 12 class MyForm(forms.Form): 13 13 … … 17 17 super(MyForm, self).__init__(data, files, auto_id, prefix, initial, 18 18 error_class, label_suffix, empty_permitted) 19 19 }}} 20 20 and then inherit all my forms from this classes. But this is rather a way around then a solution. Anyways it doesn't feel pretty. 21 21 Thank you.