The __delattr__ method

__delattr__(self, name)

Like __setattr__() but for attribute deletion instead of assignment. This should only be implemented if “del obj.name” is meaningful for the object.

 

A Django site. rendered by a django application. hosted by webfaction.