Playground usage

Writing and running code

Write a nanodjango script in the editor on the left, then click Run. Your script runs entirely in your browser - no code is sent to the server until you choose to save it.

Click Run again at any time to reload your code. Use the navigation buttons in the browser panel toolbar to go back, forward, reload the current page, or return to /.

Playing without an account

You can use the playground without logging in. Your code runs in the browser, and you can experiment freely. You will not be able to save or share scripts until you log in.

Saving and sharing scripts

Click Save to save your script to your account. Once saved, your script gets a permanent URL that you can share with anyone.

All saved scripts are public. Anyone with the URL - and anyone browsing your profile - can read your code. Do not put secrets, passwords, or personal data directly in the code - use Playground environment variables instead.

By saving a script you agree to license it under CC BY 4.0 - see the small print for more details.

When viewing someone else’s script, Save becomes Fork - clicking it copies the script to your account.

The database

Your script’s SQLite database lives entirely in your browser’s storage. It is never sent to the server and is not shared when you share a script - each visitor who runs your script starts with their own empty database.

Script limits

Accounts have a limit on the number of saved scripts, and this is shown on your profile page. This is just to guard against abuse, so please do drop us an email if you’d like it increased.