/django-cml

An app for data exchange in CommerceML 2 standard.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

CML

CML is a reusable Django app for data exchange in CommerceML 2 standard.

Requirements

  • Python 2.7, 3.3, 3.4, 3.5, 3.6
  • Django 1.8, 1.9, 1.10, 1.11

Quick start

Install using pip:

pip install django-cml

Or clone the repo and add to your PYTHONPATH:

git clone https://github.com/ArtemiusUA/django-cml.git

Add "cml" to your INSTALLED_APPS setting like this:

INSTALLED_APPS = [
    ...
    'cml',
]

Include the cml URLconf in your project urls.py like this:

url(r'^cml/', include('cml.urls')),

Run python manage.py migrate to create the cml models.

Create a cml-pipelines.py file with python manage.py cmlpipelines and add it to settings file like this:

CML_PROJECT_PIPELINES = 'project.cml_pipelines'

Modify pipeline objects for your needs to stack this with your models.