A simple app for generating test data for a given django models description.
Project description
Djenerator is a simple tool made to generate test/random data from the model description of django.
Installation
Using pip, you can install djenerator using this command:
$ pip install djenerator
Usage
Full documentation: http://pythonhosted.org/djenerator/usage.html
Add ‘djenerator’ to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'djenerator',
...
)
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file djenerator-1.0.1.tar.gz.
File metadata
- Download URL: djenerator-1.0.1.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fec59e5a9ea9b8f6cd2380a03ebe78839b2001fb563fd639fe7e3dc5f652e86
|
|
| MD5 |
78265d24c77d2de1ff312153a01ead9d
|
|
| BLAKE2b-256 |
46da1516003d45d0142819882f5160f18a22267a1b01817441a8ecfd4ab5001a
|
File details
Details for the file djenerator-1.0.1-py2-none-any.whl.
File metadata
- Download URL: djenerator-1.0.1-py2-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da74522e30676c94dfe560b04c276f1ee17900137ad8f75de3c80af8454ed267
|
|
| MD5 |
019589c07664ea0cd4aacba7016777f0
|
|
| BLAKE2b-256 |
a04e103e07e0c34b6eeaa228ccb0d3d3110f4f48e1f350cfe1550cbf7d23a41c
|