Admin Panel & Revenue Dashboard
You need to see and manage what's happening - your data and your money. Larz auto-generates a CRUD admin panel over your models and a revenue dashboard, so you're not building internal tools by hand.
Running a SaaS means you need to see and manage things: your users and data, and how much money is coming in. Building internal admin tools by hand is a time-sink most solo builders skip - and regret. Larz auto-generates a CRUD admin panel over your models and includes a revenue dashboard, so you get the tools to actually run the business for free.
An admin panel over your models
Define your data as Larz models, enable admin, and you get a full create/read/update/delete interface over them - no admin UI to build.
from larz.models import Model, Field
import larz.admin as admin
class Project(Model):
name = Field.string()
owner = Field.foreign_key('User')
admin.enable(app) # auto CRUD admin over your models at /larz/admin| You get, generated | Without |
|---|---|
| List / create / edit / delete records | Building any of it by hand |
| Forms from your model fields | Writing forms and validation |
| Relationships handled | Manual join UIs |
| A place to run the business | Poking the database directly |
The admin panel is generated from your models, so it stays in sync as your data evolves - internal tooling you'd otherwise never get around to building.
See the money
Because payments are built in, Larz can show you the numbers that matter - subscriptions, revenue, entitlements - in a dashboard.
Run the business
- Model your data - Field types, relationships, migrations.
- Enable admin - auto CRUD panel over your models at /larz/admin.
- Watch revenue - the built-in dashboard from the money layer.
- Gate it - protect admin with @require_role('admin').
๐ฏ Key takeaways
- Running a SaaS needs internal tools - Larz auto-generates a CRUD admin panel over your models.
- Define data as Larz models and enable admin; the panel stays in sync as your data evolves.
- A built-in revenue dashboard surfaces subscriptions, revenue and entitlements from the money layer.
- Protect admin with @require_role('admin'); add richer charts with larzchart (larz[full]).
Frequently asked
How is an auto-generated admin panel different from building my own?
It's generated from your model definitions, so you get a working create/read/update/delete interface - with forms, validation and relationship handling - the moment you define your data and enable admin, and it updates automatically as your models change. Building your own means writing and maintaining all those forms, list views and permissions by hand, which is exactly the internal tooling solo builders tend to skip and then regret when they're poking the raw database to fix things. The auto-panel gives you a safe, convenient place to manage your app's data from day one, essentially for free.
Can customers see the admin panel or dashboard?
Only if you let them - and you shouldn't. The admin panel and revenue dashboard are internal tools, so you gate them behind authentication and an admin role (@require_role('admin')), typically at an internal path like /larz/admin. Regular users get their own dashboard (their data, their subscription), which is a different, customer-facing view you build with normal routes. Larz's role-based access makes it straightforward to keep the powerful internal tools restricted to you and your team while giving customers an appropriate, limited view of their own account.
Related lessons
Plans, Trials & Subscriptions
This is where a SaaS makes money - and where Larz shines. A free tier, a paid Pro plan, frโฆ
Build a SaaS with LarzBackground Jobs, Email & Ops
Real apps do work off the request - sending emails, processing tasks, running scheduled joโฆ
Build a SaaS with LarzAccounts, Login & API Keys
Every SaaS starts with users. Larz gives you sign-up, login, sessions, roles and API keys โฆ