Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

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


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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page