Installation

Download and install with pip or easy_install

You can install the django-autofixture like any other python package. The prefered way is to use pip. Please run the following command in your terminal:

pip install django-autofixture

This will install the package in your system wide python installation.

You can fall back to the easy_install command if pip is not available on your system:

easy_install django-autofixture

Note

In most cases you need admin previlegies to install a package into your system. You can get these previlegies by prefixing the commands above with sudo.

Add autofixture to your django project

Usually you want to add autofixture to your INSTALLED_APPS in the settings file of your django project. This will make the loadtestdata management command available to your use.

Using the development version

You can ofcourse also install and use the current development version. All you need is to have the git and setuptools installed.

Now get the repository from github and run:

git clone git://github.com/gregmuellegger/django-autofixture.git

This will download the project into your local directory. cd to the django-autofixture directory and run:

python setup.py install

Now follow the instructions under Add autofixture to your django project and everything will be in place to use django-autofixture.