Re: Allow changing form field properties after form creation

2012-04-05 Thread Beres Botond
Hi Chris, Isn't it this what you are trying to do? class DocumentForm(ModelForm): def __init__(self, *args, **kwargs): super(MyForm, self).__init__(*args, **kwargs) self.fields['title'].required = False Which works perfectly fine. You can tweak pretty

Re: Model translation

2010-08-06 Thread Beres Botond
Your monster post was very useful, gave me a few ideas. Also it's a good set of requirements to compare against for things that should be fulfilled by a potential de facto model translation approach/app. Combined with the excellent wiki article mentioned in this thread

Re: Model translation

2010-08-05 Thread Beres Botond
Hi JK, Actually there is a model translation app which uses a very similar approach to what you describe and already covers a good chunk of your 6 points. A few months ago I needed to add dynamic translation to a fairly large project, I looked into most of the existing model translation apps,