Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (26 sloc) 1.09 kb

Howto use the library

Its easy to get started with the :ref:`mockups <mockups>` management command but its quite limited if you want to have more control of how your test data should be created. This chapter describes how you use the library in your python environment like the shell, a custom script or in unittests.

Creating model instances

The :mod:`mockups` module contains a few shortcuts to make the creation of test data as fast as possible.

Using the Mockup class

Subclassing :class:`Mockup`

The following methods may be overwritten by subclasses:

Jump to Line
Something went wrong with that request. Please try again.