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
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.
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
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
4 matches
Mail list logo