django-lfs
LFS (Lightning Fast Shop) is an open source online shop built on Python and Django.
It covers the whole way from the catalog to the paid order and comes with its own management interface for the daily work in a shop. Prices, taxes, shipping and payment follow configurable rules instead of code changes in the core.
Open source since 2009, more than 3,000 commits, BSD licensed
In production in several B2B and B2C shops
Actively developed: runs on Django 5.2 LTS and Python 3.12+, with more than 500 commits since 2025
Features
- Catalog
Categories, products with variants and properties, accessories, attachments, manufacturers and suppliers. Filterable product lists and a search.
- Prices and taxes
Net and gross price calculation, and tax rates that depend on the product and on the customer’s country.
- Shipping and payment
Any number of shipping and payment methods with their own prices and delivery times. Criteria decide which methods a customer is offered, for example by cart value, country, weight or package dimensions.
- Checkout and orders
A one-page checkout, order management with states, and order mails.
- Marketing
Vouchers, discounts, top sellers, featured products and product reviews.
- Content
Pages, static blocks and portlets to build the shop’s pages without touching templates.
- SEO
Structured data (JSON-LD), also for product variants, canonical URLs and a sitemap with products, categories and manufacturers.
- Management interface
A dedicated interface for products, orders, customers and content, built with Bootstrap 5 and HTMX. Exports, for example for price comparison sites.
- Languages
Translations for Czech, Dutch, English, French, German, Italian, Polish and Spanish.
Architecture
LFS is a regular Django project made of separate apps (lfs.catalog, lfs.cart, lfs.checkout, lfs.order, lfs.manage and others). If you know Django, you will find your way around quickly.
Shops differ, so the parts that differ are pluggable. You write a class, register it in the settings, and keep your own requirements out of the core:
Price calculators (lfs.plugins.PriceCalculator) define how a product price is calculated.
Payment processors (lfs.plugins.PaymentMethodProcessor) connect payment providers.
Shipping price calculators (lfs.plugins.ShippingMethodPriceCalculator) calculate shipping costs.
Criteria (lfs.criteria.models.Criterion) decide when a shipping method, payment method, discount or tax rate applies.
Requirements
Python 3.12 or newer
Django 5.2 (LTS)
A database supported by Django; PostgreSQL is used in production
Installation
The quickest start is lfs-project: a ready Django project with LFS, the default theme and the standard add-ons, configured through environment variables.
To add LFS to an existing Django project:
pip install django-lfs
Then put the apps of lfs.settings.LFS_APPS into INSTALLED_APPS, add a theme such as lfs_theme before them, and include the URLs of lfs.core and lfs.manage. The steps are described in docs/introduction/installation.rst.
Documentation
The documentation is part of this repository, in the docs folder, and is built with Sphinx (see docs/README.md). It explains the concepts, the management interface and how to extend LFS.
Parts of it still describe older releases and are being revised. If something does not match the code, the code is right; please open an issue.
Tests
LFS has more than 2,500 tests, written with pytest, pytest-django and factory_boy. The management interface is also tested in a real browser with Playwright (see lfs/manage/tests_e2e).
Contributing and support
Bug reports and pull requests are welcome in the issue tracker.
LFS is developed by IQ++. If you plan a shop or need an extension, get in touch there.
License
BSD 3-Clause, see LICENSE.txt. The people who built LFS are listed in CREDITS.txt, the changes of each release in HISTORY.txt.
The management interface bundles third-party libraries in lfs/manage/static/lfs/manage/vendor/:
TinyMCE: GPL-2.0-or-later (tinymce/license.md); LFS configures it with license_key: 'gpl'. A shop that distributes LFS with TinyMCE must follow the GPL, or use a commercial TinyMCE license. The source code of the bundled version (8.9.3) is at https://github.com/tinymce/tinymce/tree/8.9.3.
Bootstrap, Bootstrap Icons, flatpickr, SortableJS: MIT
htmx: 0BSD
Metadata
Release files for django-lfs 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_lfs-1.0.0.tar.gz | 7.5 MB | Without provenance | Details for django_lfs-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_lfs-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for django_lfs-1.0.0-py3-none-any.whl |
Total release size: 15.6 MB
Release files / django_lfs-1.0.0.tar.gz
| Download URL | django_lfs-1.0.0.tar.gz |
|---|---|
| Size | 7.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad8111dd411b9b46cc25416fffb972d2b685bbe8527eadd3fe947876fbde65e9
|
|
BLAKE2b-256 checksum How to use checksums |
47b767d71b84b0ebdca55d2d90e39b896754dca4c9e93ee3f160e487e513d8ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|
Release files / django_lfs-1.0.0-py3-none-any.whl
| Download URL | django_lfs-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fec35b11fedfad7101e6e2c50606ce5b129c75a4c99a2e5ab4bde74b02ed3320
|
|
BLAKE2b-256 checksum How to use checksums |
8e862ee7a9f7528ba363f8175c56173b4ffed7336b1d16466e6f839bb1bfbbba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|
Security for django-lfs 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.