Piccolo Admin is a powerful and modern admin interface / CMS for Python, currently at version 1.13.0. It is built on top of the Piccolo ORM and works seamlessly with ASGI frameworks like FastAPI and Starlette. The library is actively maintained with regular updates, often coinciding with new releases of the core Piccolo ORM library.
pip install piccolo-adminVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to run a local demo instance of Piccolo Admin, including a pre-configured database and sample data, using the `admin_demo` package. This allows you to quickly explore the features without writing any code.
Upgrade your Python environment to version 3.9 or higher.
Upgrade to Piccolo Admin version 1.3.2 or above. It's recommended to update to the latest version for all security patches.
Ensure `APP_REGISTRY` is configured and run `piccolo migrations forwards all` to apply necessary database schemas, including `BaseUser`.
Review table schemas for problematic column names (prefer snake_case) and ensure primary key configurations are standard or handled through custom forms if necessary. Check GitHub discussions for specific workarounds.
1. Add `piccolo_admin.piccolo_app` to your `APP_REGISTRY`. 2. Run `piccolo migrations forwards all`. 3. Create an admin user via CLI: `piccolo user create`.
Check the server logs for detailed traceback. Ensure all required fields are populated. For complex schemas, consider creating custom forms using `FormConfig` for better control over validation and data handling.