Re: model docstrings/doctest

2005-10-14 Thread Adrian Holovaty
On 10/14/05, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > Just submitted a patch that does exactly that. > http://code.djangoproject.com/ticket/628 As of revision 878, it's an official part of Django. Thanks! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org

Re: model docstrings/doctest

2005-10-14 Thread Joseph Kocherhans
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 thin

Re: model docstrings/doctest

2005-10-11 Thread Joseph Kocherhans
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 thin