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.

Source Distribution

django-datahooks-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded source

Built Distribution

django_datahooks-0.0.1-py2.py3-none-any.whl (5.5 kB view hashes)

Uploaded py2 py3

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