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
============
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-dumpdata-field-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad08021dfb3ab383deffea02ab8113889af52df77ce8012b872bb2c1a864102b |
|
MD5 | eec9909a70f20bd65852adbb25d2f361 |
|
BLAKE2b-256 | e90c75fd7b7c93fe99f095bacfafb01b0ef2f88f4a4467a9d048379236b1c16d |