Commands

If you’ve registered the session_auth app in your piccolo_conf.py file (see the migrations docs), it gives you access to a custom command.

clean

If you run the following on the command line, it will delete any old sessions from the database.

piccolo session_auth clean