Skip to main content

Django datahooks

Project description


Note: this package is experimental


pip install django_datahooks


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 generate_data <provider> command.


from import call_command
from django_datahooks import DataProvider

class PagesProvider(DataProvider):
    name = "pages"

    def run(self, **options):
        # Run creation commands

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-datahooks, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_datahooks-0.0.1-py2.py3-none-any.whl (5.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-datahooks-0.0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page