Skip to content
프로젝트

소개

Django 기반 온라인 쇼핑몰입니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

django-lfs

CI Coverage PyPI Python versions Django versions Documentation Website

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

To try LFS, start the demo shop with Docker:

docker run --rm -p 8000:8000 ghcr.io/diefenbach/lfs

Then open http://localhost:8000/ for the shop and http://localhost:8000/manage/dashboard/ for the management interface (user admin, password admin). The image is for trying LFS only; see lfs-docker.

For a real shop start from lfs-starter: 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 instead, follow 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. End-to-end tests in tests_e2e/ run whole journeys through the shop and the management interface in a real browser with Playwright, for example a manager adds a product and a visitor finds it in the shop. Run them with bin/test-e2e; bin/test runs all other tests.

Related packages

Themes and add-ons live in their own repositories:

LFS itself depends on lfs-order-numbers, lfs-contact, lfs-postal, django-portlets and django-reviews.

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

관련 프로젝트 살펴보기

불러오는 중…