Skip to content

A simple django tool for generating random/customized test data for django model descriptions!

License

Notifications You must be signed in to change notification settings

mostafa-mahmoud/djenerator

Repository files navigation

Djenerator

Djenerator is a simple tool made to generate test/random data from the model description of django.

Installation

Run the setup.py script using the following command:

$ python setup.py install

Usage

Add 'djenerator' to your INSTALLED_APPS:

The generation of data are then done by a command using manage.py file in your project:

$ python manage.py jenerate size app_name output_file

There's another command that can be used for data generation, in this case the generated data will be dumped in the database:

$ python manage.py jendb size app_name

Running the tests

Run the tests by running the command:

$ python runtests.py

TODOs and BUGS

See: https://github.com/mostafa-mahmoud/djenerator/issues