===
CML
===

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

Detailed documentation is in the "docs" directory.

Requirements
------------

- Python 2.7, 3.3, 3.4, 3.5
- Django 1.8, 1.9

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