Skip to main content

Generic populate models in django from YAML files

Project description

https://badge.fury.io/py/dj-exo-populator.svg https://travis-ci.org/tomasgarzon/dj-exo-populator.svg?branch=master https://codecov.io/gh/tomasgarzon/dj-exo-populator/branch/master/graph/badge.svg

Generic populate models in django from YAML files

Documentation

The full documentation is at https://dj-exo-populator.readthedocs.io.

Quickstart

Install exo_populator:

pip install dj-exo-populator

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'populate.apps.PopulateConfig',
    ...
)

Add exo_populator’s URL patterns:

from populate import urls as populate_urls


urlpatterns = [
    ...
    url(r'^', include(populate_urls)),
    ...
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

History

0.1.0 (2018-11-26)

  • First release on PyPI.

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

lib-exo-populator-0.1.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

lib_exo_populator-0.1.0-py2.py3-none-any.whl (9.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file lib-exo-populator-0.1.0.tar.gz.

File metadata

  • Download URL: lib-exo-populator-0.1.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2

File hashes

Hashes for lib-exo-populator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 214e4143e11e49338e3079203b04b467880c73c2a270a494512c8abb115398d5
MD5 5ad72c2687e52e73a86edf0172ea7b5b
BLAKE2b-256 cabb159feaa03c5fdc313032be1b725311e402b4e83444c4c4557b272536c3f1

See more details on using hashes here.

File details

Details for the file lib_exo_populator-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: lib_exo_populator-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2

File hashes

Hashes for lib_exo_populator-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fd9e9d0ab4b439055a836d1e6af0666eabf3d9f2873c022899c31108ead09300
MD5 9b6028d05c194ce12b1b2c19ef0e2ea6
BLAKE2b-256 18c979e2d64a40bf76384ff5b33ff7cbc7b45800eba9374f848ec7f69c70b124

See more details on using hashes here.

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