kopia lustrzana https://github.com/longclawshop/longclaw
![]() * 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 |
||
---|---|---|
.. | ||
src | ||
.eslintrc | ||
README.md | ||
package.json | ||
webpack.config.js | ||
webpack.dev.config.js |
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:
-
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) -
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