On Sun, Mar 26, 2006 at 10:40:53PM -0600, Adrian Holovaty wrote: > On 3/24/06, Glenn Tenney <[EMAIL PROTECTED]> wrote: > > You don't get all of the model examples -- and some of the > > needed documentation is in the example pages surrounding the actual > > examples. > > That's incorrect; you do indeed get the model examples. Although it's > not obvious, they're in the directory tests/testapp/models directory > of the Django distribution. The model examples are generated > automatically from the unit tests.
First, aha! Thank you!!! There are some examples in the tar file! Who would have thought of looking in "tests" for "examples"????? However... Those example files are NOT the same as what's in the online docs. For example: Look at http://www.djangoproject.com/documentation/models/many_to_many/ then look at Django-0.91/tests/testapp/models/many_to_many.py and see if in both files you can find the strings: "Sample API usage" or "Publication objects have the following methods" or "get_article()". You will find those strings in the online docs, but NOT in the example.py file. And that's part of the documentation that is MISSING from the tar file. Are these examples helpful? Certainly, but... (a) they need to be in a different and much more obvious location... oh, in the docs directory would be a start. (b) they are not the complete text of what's online and the parts that are missing are in fact critical to one trying to learn Django. I maintain that all of the online docs need to be in the tar file... -- Glenn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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-users -~----------~----~----~----~------~----~------~--~---