The Python / Django SaaS boilerplate

Ship your next SaaS app in a fraction of the time

A production-ready Django codebase with auth, billing, teams and AI built in, set up for you and your agents to build on.
Start building for free
Join 1902 developers and businesses using Pegasus today.
on

Everything your app needs on day one

Not a demo — a production codebase with 7+ years of real-world SaaS decisions already made.

Users & Teams

  • Sign up, email confirmation & social login
  • Two-factor authentication
  • Teams, invitations & role-based access

Billing & Payments

  • Stripe subscriptions
  • Per-seat & usage-based pricing
  • E-commerce store

AI

  • AI chat, agents & tool use for any LLM
  • Streaming & image generation examples
  • Built-in AI coding skills, rules files & MCP

Front End

  • Tailwind CSS + DaisyUI themes
  • Your choice of HTMX or React
  • Vite build pipeline
  • Example charts & dashboards
  • Internationalization

Backend

  • REST APIs, docs & client libraries
  • Async views & websockets
  • Celery background tasks
  • Transactional email & templates
  • Wagtail CMS integration
  • Secure Django defaults

Admin & Ops

  • Django admin & user impersonation
  • Feature flags
  • Sentry error monitoring
  • Docker-based development
  • Deploy to any major cloud or VPS
  • Tests & CI with GitHub Actions or GitLab

…all in a clean, well-documented, and scalable foundation. Browse the documentation →

Eliot Andres and Matthieu Rouif, co-founders of PhotoRoom

“Using Pegasus saved us hundreds of hours of Django development. It came with complete team and payment models and the Stripe integration was very smooth. Code is clean and the examples make it very easy to get started.”

Eliot Andres
CTO of PhotoRoom (YC 2020)

Go from zero to fully-functional app in under five minutes

  1. Configure

    Use the online codebase creator or CLI to specify your project's settings, features, and backing technologies.

  2. Install

    Clone your project with git and get up and running with a single command.

  3. Customize

    Build your application, with help from the built-in AI skills, Pegasus docs, and community.

Start free. Pay once. Build forever.

From side-projects to unicorns—flat pricing with no subscriptions or recurring fees.

Open Source

Free

A basic Django foundation with auth and dev tooling. Good for hobby projects with limited needs.

  • Open source
  • Use Forever
  • Limited updates
  • Basic feature set
  • No support
Start building for free

or clone the repo

Professional

$449 $

Quickly launch a production Django application with B2B features like billing, teams and AI agents.

  • One-time purchase
  • Use Forever
  • 1 additional year of updates
    *
  • Full feature set
  • 1 project
  • 1 year of community access
Try a Demo

Unlimited

$649 $

Build unlimited projects with everything in Pegasus and enjoy lifetime community access.

  • One-time purchase
  • Use Forever
  • 1 additional year of updates
    *
  • Full feature set
  • Unlimited projects
  • Lifetime community access
  • Priority support
Try a Demo

Feature comparison

Open Source

A basic Django foundation with auth and dev tooling. Good for hobby projects with limited needs.

Pegasus features

Custom Codebase Creator
Yes
Responsive Application UI
Yes
User Accounts
Yes
Docker Development Environment
Yes
Front End Build Tooling
Yes
Code Formatting
Yes
AI Coding Tools
Yes
CI Setup
Yes
Example: Background Tasks
No
Example: Employee Lifecycle
No
Example: Payments
No
Example: Charts
No
Teams (Multitenancy)
No
Stripe E-Commerce Store
No
Stripe Subscriptions
No
Built-in AI Agent
No
Production Deployment Support
No
Wagtail CMS
No
Multi-Language Support
No
Login with Google/Twitter/Github
No
User Impersonation
No
Email Marketing Integration
No
Async and Websocket Support
No
Sentry Error Reporting
No
API Keys
No
AI Image Generation
No

Professional / Unlimited

Quickly launch a production Django application with B2B features like billing, teams and AI agents.

Pegasus features

Custom Codebase Creator
Yes
Responsive Application UI
Yes
User Accounts
Yes
Docker Development Environment
Yes
Front End Build Tooling
Yes
Code Formatting
Yes
AI Coding Tools
Yes
CI Setup
Yes
Example: Background Tasks
Yes
Example: Employee Lifecycle
Yes
Example: Payments
Yes
Example: Charts
Yes
Teams (Multitenancy)
Yes
Stripe E-Commerce Store
Yes
Stripe Subscriptions
Yes
Built-in AI Agent
Yes
Production Deployment Support
Yes
Wagtail CMS
Yes
Multi-Language Support
Yes
Login with Google/Twitter/Github
Yes
User Impersonation
Yes
Email Marketing Integration
Yes
Async and Websocket Support
Yes
Sentry Error Reporting
Yes
API Keys
Yes
AI Image Generation
Yes

Founders who built on Pegasus

“SaaS Pegasus makes it possible not just to build your demo, but to get product-ready in weeks not months. We were able to go from 0 to 1 in 3 weeks, building on top of Pegasus.”

Jeremy Parra
Jeremy Parra
founder and CTO, Savvy Learning
Savvy Learning

“I'm usually pretty critical of SaaS boilerplates, but SaaS Pegasus is quite literally "CTO in a box" and has taught me a ton about modern Django just from buying it.”

Dominic Monn
Dominic Monn
founder, Mentor Cruise

“As a newbie to Django, I was looking for a SaaS template to quickly build and launch my indie hacking project. SaaS Pegasus provided the perfect foundation to build from. It has just the right amount of base functionality that I could easily customise. If you're using Django, save time and money—I highly recommend it!”

Bhavik Maneck
Bhavik Maneck

“We estimated that we could launch our productized service in six weeks. Thanks to Pegasus, we did it in six days! Everything Just Worked.”

Gareth Dwyer
Gareth Dwyer
founder, Ritza

“There's easily hundreds of hours of work contained in the template. It was maybe the best money I've spent on anything.”

Tom Huzarsky
Tom Huzarsky

“Using SaaS Pegasus to handle all the boilerplate code was so easy and helpful. The application was ready to launch 10x faster than when I handle that stuff myself.”

Allison Seboldt
Allison Seboldt

“Pegasus helped me tremendously understanding the logic behind Django projects. Really a great solution you have!”

Phil Wennker
Phil Wennker
founder, mnemonic.ai

“We're well into the six figures of ARR, closing out a raise at a multi-million dollar valuation. I 100% believe my product never would've gotten off the ground without SaaS Pegasus. You have done all of the intimidating, monotonous, but also hard-to-reason-about structural pieces of the project. I know it might seem silly to think of it like this, but SaaS Pegasus has helped change the trajectory of my life.”

Logan Wright
Logan Wright
founder, Hashio

“In only 4 days I was able to take my existing Django project, integrate SaaS Pegasus, and push it online. You have done an amazing job creating Pegasus. It wouldn't have been possible without you.”

Adrian Rosebrock
Adrian Rosebrock
founder, pyimagesearch

Things people ask before buying

Good question! Pegasus is a Django-backed SaaS boilerplate that puts you in control.

You choose the technologies and features you want included, and Pegasus generates a unique codebase for your project. Instead of starting with Django's default skeleton project, you start with a bunch of extra work done for you—and nothing you don't need.

Check out this video to see how easy it is to get up and running with Pegasus in under five minutes. And for a deep dive on how Pegasus is put together see this writeup on how Pegasus works.

In short, Pegasus is for developers who want to jump start their projects.

Pegasus works well for experienced coders, data scientists looking to get into web development, and technical entrepreneurs looking to build their own MVPs.

Beginners and experienced developers alike will feel at home in Pegasus's mature—and always improving—codebase.

For a longer treatment of this question, see "Is Pegasus right for me?"

Yes, but it's a bit of work.

Pegasus is primarily for new projects and is not designed to integrate into existing codebases. Pegasus customers with existing apps typically either copy their app's code into a new Pegasus project, or copy the Pegasus features they need into their existing codebase. Both of these approaches work fine, but involve some copy/pasting.

We don't want you to be disappointed! If Pegasus isn't what you expected you can email us within 7 days for a full refund—no questions asked.

Well, we might ask you why you didn't like it so we can make it better in the future, but you don't have to answer and you'll still get your money back right away.

Yes!

You can upgrade a license within the first year of purchase for the difference in price between the two tiers plus $49. So, for example, upgrading a license from Professional to Unlimited is $649 - $449 + $49 = $299.

Nope!

Most of Pegasus is built with standard Django views and templates, and the majority of functionality has minimal amounts of JavaScript.

For the parts of Pegasus that leverage JavaScript to provide a modern user experience, Pegasus lets you to choose between React and HTMX. HTMX is a great on-ramp to modern web applications for Django developers and requires no JavaScript knowledge whatsoever!

Pegasus also ships with a Webpack pipeline to build the front-end, and so swapping in a different JavaScript framework—or using none at all—is as simple as modifying a few config files. Pegasus even ships with a Vue.js example to demonstrate how easy this is!

Pegasus lets you build multi-tenant applications—that is, applications that serve multiple customers (tenants) on top of a single platform. Each tenant (in Pegasus, a team) gets a siloed view of just their data.

Under the hood, Pegasus uses a single database and manages data isolation using foreign keys and a set of built-in helper functions in the application layer. You can read more about these tools in the teams documentation.

The main advantage of this architecture is that it is much faster to build and deploy on. And—if you follow the built-in patterns—it can scale to an almost-arbitrary size. We believe strongly that this makes it the best tenant architecture for most use cases.

That said, the single-database architecture may not be suitable for applications with extremely rigid security requirements. For those applications, a more siloed approach using something like django-tenants—which enforces data isolation at the database level—may be more appropriate. Using these alternate architectures will substantially increase the complexity of building and deploying your application.

It is possible, but a lot of work (and not supported), to adapt Pegasus to use a different tenant architecture. Very few Pegasus customers have ever needed to do this, even at scale.

Email me at [email protected] and I'll get back to you as quickly as possible!

Your foundation is ready.

$ pegasus projects create --set project_name=YourNextBigThing

Free to start. Your first project configured in under five minutes.