Skip to main content

Plugin to generate the lorem ipsum for django model

Project description

Plugin to generate the lorem ipsum for django model

http://i.imgur.com/8vg0KoC.png

Install

Djipsum is available directly from PyPI:

$ pip install djipsum

*). And don’t forget to add djipsum to your INSTALLED_APPS setting (without migrations).

Requirement

  • Django>=1.10.1

Usage

usage: manage.py djipsum [-h]
                         [-dv] [--app APP] [--model MODEL] [--max MAX]

To generate awesome lorem ipsum for your model class!

optional arguments:
  -h, --help            show this help message and exit
  -dv, --djipsum_version
                        Show djipsum version and exit.
  --app APP             The APP name.
  --model MODEL         The Model Class name.
  --max int(MAX)        Maximum generate lorem ipsum.

Example

# Default 10 objects
$ ./manage.py djipsum --app testapp --model TestField

# Custom Maximum objects
$ ./manage.py djipsum --app testapp --model TestField --max=5

License

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

djipsum-1.0.3.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file djipsum-1.0.3.tar.gz.

File metadata

  • Download URL: djipsum-1.0.3.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for djipsum-1.0.3.tar.gz
Algorithm Hash digest
SHA256 764a5329666fcdf41a01b34b9a230e5c168ae880aad5873d28483cf40a11c12b
MD5 747a6d17d9766fa6e3558ca44d7cd433
BLAKE2b-256 ce74659bcd323a24afe9fa3662be9087206b3200c40ea25a6ef24c39fa8b15df

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page