Skip to main content

Factories for Django, creating valid model instances every time.

Project description

CircleCI build Read the Docs PyPI version Python version PyPI - Django Version factory-djoy is licensed under the MIT License

Factory Djoy

Factories for Django, creating valid model instances every time.

Factory Djoy provides two simple classes, UserFactory and CleanModelFactory, which wrap Factory Boy. They call full_clean() when creating Django model instances to ensure that only valid data enters your Django database.

Compatibility

Factory Djoy is compatible with:

  • Django 1.11, 2.1 and 2.2.

  • Python 3 (3.5, 3.6, 3.7, 3.8)

  • Factory Boy version 2.11 or greater.

Resources

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

factory_djoy-2.1.2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

factory_djoy-2.1.2-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file factory_djoy-2.1.2.tar.gz.

File metadata

  • Download URL: factory_djoy-2.1.2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.5.2

File hashes

Hashes for factory_djoy-2.1.2.tar.gz
Algorithm Hash digest
SHA256 4ac33699a4edd4ea3e51c40b2048cee4607b5a4d10ae793151a11b023cd852de
MD5 3e779380c7ceadd743b64c4ea6265c7d
BLAKE2b-256 927691c308ef045c78c8458650368403ce5b9b5d99109558525374a2f9f7f4e2

See more details on using hashes here.

File details

Details for the file factory_djoy-2.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: factory_djoy-2.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.5.2

File hashes

Hashes for factory_djoy-2.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 abde949cdbb784800dfd9b86d1ffda9733dbc37b8ba3f154c52f42f85b4f3f76
MD5 e4a3c719579e4ef273574594659cac90
BLAKE2b-256 87ba65417f3a2256e510a4a94b4dd2137a6aa0fbf671f1c54ca219c03488834e

See more details on using hashes here.

Supported by

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