Creates XLS sheets to upload data into django models
Project description
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
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
Hashes for django-excel-data-sync-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66c2b03f8ad89159ccbeada0d547aff37681b2fbc75d10dc76f6051fdd8ee600 |
|
MD5 | e75059539e41f733a2c54caffa57c09b |
|
BLAKE2b-256 | 5ca77b6afa012e4e6d6099735171ece8df856c92e57daab9847869d4fe2d33eb |