Django datahooks
Project description
django_datahooks
Note: this package is experimental
Installation
pip install django_datahooks
Usage
This module auto detects modules in your django apps at .datahooks.*
and
scans for classes extending django_datahooks.DataProvider
to
makes them available for the manage.py generate_data <provider>
command.
Example:
from django.core.management import call_command
from django_datahooks import DataProvider
class PagesProvider(DataProvider):
name = "pages"
def run(self, **options):
# Run creation commands
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file django-datahooks-0.0.1.tar.gz
.
File metadata
- Download URL: django-datahooks-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fb9a89010d41edfaf8847dfc89db31f4bb058e03819a1c5b04ab3203afe25f6 |
|
MD5 | 884caa12aaa6f08992901a95a56bdcff |
|
BLAKE2b-256 | 20078d0c0196adff606c0a6695ab2e173205c639f42980cd57aa6994d3a0b933 |
File details
Details for the file django_datahooks-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: django_datahooks-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad8313dacc93c05942feb2de8a3e856e295d99e256883847d55e3c7b7fb59e15 |
|
MD5 | d76e30d3b2a3144469e8f7a3f71403b5 |
|
BLAKE2b-256 | 4a322dac34190485462f20a310abad0e70deeed58e2f614dd041720ebfb0beba |