Application for data exchange in CommerceML 2 standard. This is a new version with new architecture
Project description
CML is a reusable Django app for data exchange in CommerceML 2 standard.
This packet is avaliable here: https://pypi.org/project/django-cml2
Requirements
Python 3.3, 3.4, 3.5, 3.6
Django 3.2
Quick start
Install using pip:
pip install django-cml2
or clone the repo and add to your PYTHONPATH:
git clone https://github.com/sergey-gru/django-cml2.git
Add ‘cml’ to your settings.py like this:
INSTALLED_APPS = [ ... 'cml', ]
Include the cml URLconf in your project urls.py like this:
urlpatterns = [ ... path('cml', include('cml.urls')), ]
To create cml models run:
python manage.py migrate cml
Create a template of cml_delegate.py:
python manage.py cml_init
Register it to settings.py file like this:
CML_USER_DELEGATE = 'cml_delegate' # CML_USER_DELEGATE = 'app.cml_delegate'
Modify methods to stack new cml packet with your django models.
Release notes
1.0.0 This version was created based on https://github.com/ArtemiusUA/django-cml
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
Built Distribution
Hashes for django_cml2-1.0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839b4a5a72ef400bfefffd7bc09c2a492ec5455381c37ed85ab0548824eb9d0a |
|
MD5 | 17aedc4b5ceb38f29990f775ea589fe7 |
|
BLAKE2b-256 | f59dbe1c5a6a96d7e1b1ca3601629731bcf4333c06d5f097ce340c4854c014b5 |