Skip to main content

Creates XLS sheets to upload data into django models

Project description

https://badge.fury.io/py/excel_data_sync.png https://travis-ci.org/saxix/django-excel-data-sync.png?branch=master

It allows to create XLS file to import data into Django Model. The xls implement most of the validation rules of the django model fields, this prevent errors due the lack of constraints

Supported Fields

BigIntegerField BooleanField CharField DateField DateTimeField DecimalField EmailField FloatField ForeignKey GenericIPAddressField IntegerField NullBooleanField* PositiveIntegerField PositiveSmallIntegerField SmallIntegerField TextField TimeField URLField UUIDField

Supported Validations

unique max value min value max length min length

Documentation

The full documentation is at https://excel_data_sync.readthedocs.io.

Quickstart

Install ExcelDataSync:

pip install django-excel-data-sync

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'excel_data_sync.apps.XlsDataSyncConfig',
    ...
)

Add ExcelDataSync’s URL patterns:

from excel_data_sync import urls as excel_data_sync_urls


urlpatterns = [
    ...
    url(r'^', include(excel_data_sync_urls)),
    ...
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

History

0.1.0 (2016-12-13)

  • First release on PyPI.

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-excel-data-sync-0.1.0.tar.gz (20.3 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