Skip to main content

Create Fake Model Object

Project description

Django Create Fake Model Object is a Django app to make random fake data It also creates Foreign objects and M2M objects!

Quick Start

  1. Add “create_fake_model_object” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...,
        'create_fake_model_object',
    ]
  2. If you want to create a new model object use the following command to create.:

    python manage.py createrandom (appname) (Modelname) (option -n createnumber)
    
    # Example
    python manage.py createrandom book Book -n 7

Extra

ManyToManyField: If you want to create a new model objects with M2M Field! M2M Field Must be blank=True

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

django-create-fake-model-object-0.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_create_fake_model_object-0.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file django-create-fake-model-object-0.2.tar.gz.

File metadata

File hashes

Hashes for django-create-fake-model-object-0.2.tar.gz
Algorithm Hash digest
SHA256 79b653c838c9be8c4d6fc2a79fe1b46fc278058330b6f190f82323a15c255d1c
MD5 544de10ad7d774d72459b8bfa9db5995
BLAKE2b-256 e34440943e6737a0dab0e1d2b510e640b9586adb2806dcbcd4094586fa984884

See more details on using hashes here.

File details

Details for the file django_create_fake_model_object-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_create_fake_model_object-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 56f7e89922586662d600a85c606791b0cb6ae6df6e435499cb9f8be954ae1150
MD5 c15485ba0b5c56d2a7b951e710157c12
BLAKE2b-256 9eeb6ef66d516ef69f140eca8b86752fb054cdddf4eb627678692a962d869cee

See more details on using hashes here.

Supported by

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