Skip to main content

custom dumpdata and loaddata commands that allow to export given fields of a model

Project description

Django Dumpdata Field
============

custom dumpdata and loaddata commands that allow to export given fields of a model

Installation
------------

To get the latest stable release from PyPi

.. code-block:: bash

pip install django-dumpdata-field

To get the latest commit from GitHub

.. code-block:: bash

pip install -e git+git://github.com/bitmazk/django-dumpdata-field.git#egg=dumpdata_field

TODO: Describe further installation steps (edit / remove the examples below):

Add ``dumpdata_field`` to your ``INSTALLED_APPS``

.. code-block:: python

INSTALLED_APPS = (
...,
'dumpdata_field',
)

Add the ``dumpdata_field`` URLs to your ``urls.py``

.. code-block:: python

urlpatterns = patterns('',
...
url(r'^/', include('dumpdata_field.urls')),
)

Before your tags/filters are available in your templates, load them by using

.. code-block:: html

{% load dumpdata_field_tags %}


Don't forget to migrate your database

.. code-block:: bash

./manage.py migrate dumpdata_field


Usage
-----

TODO: Describe usage or point to docs. Also describe available settings and
templatetags.


Contribute
----------

If you want to contribute to this project, please perform the following steps

.. code-block:: bash

# Fork this repository
# Clone your fork
mkvirtualenv -p python2.7 django-dumpdata-field
make develop

git co -b feature_branch master
# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

django-dumpdata-field-0.1.tar.gz (9.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page