django-data-tools

Software Screenshot:
django-data-tools
Software Details:
Version: 0.1
Upload Date: 11 May 15
Developer: David Cramer
Distribution Type: Freeware
Downloads: 35

Rating: 2.0/5 (Total Votes: 1)

django-data-tools is a set of utilities and improvements for managing data (fixtures specifically) in Django.

Install

INSTALLED_APPS = (
    # ...
    'datatools',
)


Commands

dumpdata

An improved version of the manage.py dumpdata command:

  -  Adds a --limit option to specify the maximum number of objects per model to fetch.
  -  Adds a --sort option to specify ascending or descending order for serialization.
  -  Automatically follows the dependency graph for ForeignKeys and ManyToManyFields.

# Retrieve the latest 10000 thread objects with all their required dependencies
python manage.py dumpdata forums.thread --limit=10000 --sort=desc

Requirements:

  • Python
  • Django

Other Software of Developer David Cramer

Comments to django-data-tools

Comments not found
Add Comment
Turn on images!