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
django-datahooks-0.0.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for django_datahooks-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad8313dacc93c05942feb2de8a3e856e295d99e256883847d55e3c7b7fb59e15 |
|
MD5 | d76e30d3b2a3144469e8f7a3f71403b5 |
|
BLAKE2b-256 | 4a322dac34190485462f20a310abad0e70deeed58e2f614dd041720ebfb0beba |