Helpful Hints & Companies to help your Customers

Sunday, September 25, 2005

Added model examples, unit tests


Check out our new model examples page. Each example there features one or more models, with example API usage.

This is intended to be a repository of common cases -- how to use many-to-one relationships, many-to-many relationships, etc. We'll be updating this frequently with more examples.

The coolest thing here: This documentation is automatically introspected from our brand-new model unit tests. To run the tests, run "" in the "tests" directory of the Django distribution.


Post a Comment

<< Home