#1321: Modularised Django ----------------------------------------------------------+----------------- Reporter: Armin Ronacher <[EMAIL PROTECTED]> | Owner: adrian Type: task | Status: new Priority: high | Milestone: Version 1.0 Component: Core framework | Version: Severity: major | Resolution: Keywords: | ----------------------------------------------------------+----------------- Comment (by lukeplant):
adrian: I think that originally came from me tying myself in knots trying not to trigger {{{__getattr__}}} from {{{__setattr__}}} in the case where you are trying to set the '_target' attribute. I think the method should look like this: {{{ #!python def __setattr__(self, name, value): if name == '_target': setattr(self, '_target', value) else: setattr(self._target, name, value) }}} -- Ticket URL: <http://code.djangoproject.com/ticket/1321> Django <http://code.djangoproject.org/> 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 django-updates@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates -~----------~----~----~----~------~----~------~--~---