Re: Overriding verbose_name in contrib or 3rd-party apps?

2009-09-27 Thread Nan
Thanks for the suggestions, everyone. It seems to be popping up for all sorts of things -- from changing verbose_name in order to globally relabel form fields in ModelForms to changing __unicode__ methods to change template output. I know there are workarounds, but they seem less DRY. On Sep 2

Re: Overriding verbose_name in contrib or 3rd-party apps?

2009-09-27 Thread Michael Williamson
On Sep 25, 9:59 pm, ringemup wrote: > Is there an easy way to override strings like help_text or > verbose_name or __unicode__ methods for models in contrib or third- > party apps? I can't seem to find anything on Google. > > Thanks! A reasonably hacktastic way of doing this is monkey-patching.

Re: Overriding verbose_name in contrib or 3rd-party apps?

2009-09-27 Thread Wim Feijen
Can you please post some more information for what purpose you like to do this? My first guess would be you are using the admin interface. Dirty workarounds are: copying code and adapting it, importing from your adaptation in stead of the original. Maybe modifying the admin view to do something d

Overriding verbose_name in contrib or 3rd-party apps?

2009-09-25 Thread ringemup
Is there an easy way to override strings like help_text or verbose_name or __unicode__ methods for models in contrib or third- party apps? I can't seem to find anything on Google. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed t