On 10/10/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 10/10/05, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
> > I'd like to use doctest for testing my model classes, but the model
> > metaclass overwrites my classes docstrings. Is there any reason why it
> > MUST override __doc__? I think the model metaclass should leave
> > __doc__ alone if it exists. Thoughts?
>
> Nope, there's no reason that it must override. Were you thinking the
> docstring for a model class would become the docstring of the object
> instances?

Just submitted a patch that does exactly that.
http://code.djangoproject.com/ticket/628

Joseph

Reply via email to