Open source · E-commerce

django-lfs

The shop system built on Python and Django.

django-lfs is an open-source shop system for demanding B2B and B2C workflows. Prices, shipping, taxes and payment methods are driven by extensible rules instead of workarounds in the core. It is developed by IQ++ and has been running in production in several online shops for years.

  • Since 2011Public on GitHub
  • Actively developed600+ commits since 2025
  • In productionPowering several shops

Features

What django-lfs provides

A complete shop from catalog to order, with its own management interface for day-to-day operations.

01

Catalog & products

Categories, products with variants and properties, accessories, manufacturers and suppliers, plus search and filterable product listings.

02

Prices & taxes

Net and gross prices, volume pricing through the lfs-bulk-prices add-on, and tax rules for different countries and for B2B and B2C customers.

03

Shipping

Delivery methods from parcel services and freight forwarding to an own truck fleet. Shipping costs can depend on weight, girth, dimensions, destination or basket contents.

04

Payment & checkout

Integration of payment methods and providers such as PayPal, credit card or Stripe, with a streamlined one-page checkout.

05

Marketing

Vouchers, discounts and marketing building blocks that can be tied to conditions such as basket value, customer or product.

06

Shop management

A dedicated management interface for products, orders, customers, content pages and portlets, rewritten for 1.0.

07

SEO & tracking

Structured data (JSON-LD) including product variants, canonical URLs and a sitemap with products, categories and manufacturers, plus tracking events for cart and checkout.

Architecture

Extend it without bending the core

django-lfs is a regular Django project made of clearly separated apps. Anyone familiar with Django finds their way quickly, and custom requirements live in your own extensions rather than in a fork.

  • Plugin architecture: payment methods, price calculation, address formats and other building blocks can be replaced or extended with your own plugins.
  • Criteria system: composable criteria decide whether a shipping method, payment method, discount or tax rate applies. You can add your own criteria.
  • Signals & order states: Django signals, for example on order state changes, and custom order states connect inventory, shipping or accounting systems.
  • Modern management UI: the management interface was rewritten for 1.0 with Bootstrap 5 and htmx, for fast interaction without a heavy frontend framework, and is tested in a real browser.

In production

Running at Holz-Höhne

  • Holz-Höhne GmbH · Timber & garden wood

    Several online shops on one shared foundation

    Challenge: A broad range with many variants, bulky goods with different delivery routes, and both B2B and B2C customers.

    Solution: Full technical responsibility since 2010, from architecture to servers. django-lfs keeps evolving along the way, most recently with an HTMX-based admin, a mobile-first frontend, Stripe and structured data for search engines.

    Result: holzimgarten.com, holzhandel-im-netz.de and erfurtholz.de run on the same foundation and get new features without separate codebases.

For developers

Source code, license and documentation

The complete source code of django-lfs, including its history, is public on GitHub. The documentation for users and developers is at docs.django-lfs.com, covering installation, upgrading from 0.x and one page per add-on. Bug reports and pull requests are welcome.

View repository on GitHub
  • Current version 1.1
  • License BSD-3-Clause
  • Technology Python 3.12+ · Django 5.2 LTS · htmx · Bootstrap 5
  • Author & maintainer Kai Diefenbach · IQ++

Contact

Using django-lfs or planning a shop?

Whether it is a new shop project, an extension, an upgrade or a performance problem: you talk directly to the developer of django-lfs.