wagtail-longclaw/longclaw/client
James Ramm 8ff51b9274
Longclaw 1.0 (#205)
* Compatibility with Wagtail 2 and Django 2
* Fixes #154 

Wagtail 2 compatibility:

* Fixes references to Wagtail packages which use the `wagtail.wagtail*` naming scheme. Wagtail 2 removes the redundancy.
* Wraps imports in `try`/`except` blocks to maintain compatibility with Wagtail 1.

Django 2 comaptibility:

Included because Wagtail 2 adds support for Django 2.

* Adds `on_delete` to all `ForeignKey` model fields, which is now required by Django 2.

* Updates for wagtail 2

* rename modules

* Longclaw v2: Rename and new migrations

* Longclaw 2: Reduce fails to 2 errors

* Longclaw v2: All tests passing

* Update travisconf

* Travis: Enable py37

* Update project template for v2

* longclawv2: update project template

* Fix migrations for longclaw 2

* Corrections in project template for longclaw1.0

* Correct location of templates and update docs

* Automatically load shipping countries

* Add loadcountries command

* Add info on loading country data
2018-12-26 12:58:05 +01:00
..
src Fix #164 (#171) 2018-06-02 13:36:30 +02:00
.eslintrc React front end for orders 2017-02-09 22:13:28 +00:00
README.md Fixes #51 (#66) 2017-05-16 17:34:29 +02:00
package.json Fixes #51 (#66) 2017-05-16 17:34:29 +02:00
webpack.config.js Longclaw 1.0 (#205) 2018-12-26 12:58:05 +01:00
webpack.dev.config.js Longclaw 1.0 (#205) 2018-12-26 12:58:05 +01:00

README.md

Frontend libraries for Longclaw

This library contains a javascript client for the Longclaw e-commerce library.

There are two options for using this library:

  1. Install with npm (npm i longclawclient --save) and then use as you would any other es6+ module (i.e. as part of a webpack or similar workflow)

  2. Use the built distribution in HTML/browser scripts by loading it with the templatetags provided with Longclaw. The api library will be exposed as a global object named longclawclient