Installation

Python 3.8 or above is required.

Install piccolo_admin, ideally inside a virtualenv.

pip install piccolo_admin

Local demo

To run a demo locally:

admin_demo

And then just launch localhost:8000 in your browser. Login using username: piccolo, password: piccolo123.

To see what happens behind the scenes, see piccolo_admin/example.py.

In a few lines of code we are able to:

  • Define our tables

  • Setup a database

  • Create a REST API

  • Setup a web server and admin interface

Next we’ll look at integrating the Piccolo admin properly into your own project.