#3067: [patch] Caching of servername in mail.py slows down startup time
---------------------------+------------------------------------------------
Reporter: SmileyChris | Owner: adrian
Status: new | Component: django.core.mail
Version: | Resolution:
Keywords: | Stage: Ready for checkin
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
---------------------------+------------------------------------------------
Comment (by mtredinnick):
It's more normal Python practice to use {{{__str__}}} for "transparent
output" classes like this, so that {{{__repr__}}} can still be used in
debugging, etc, to display the real object (the class instance). I've made
that change in the patch I've applied to the repository.
--
Ticket URL: <http://code.djangoproject.com/ticket/3067#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---