Code related to the article Database generated columns ⁽¹⁾: Django & SQLite, to be used to experiment with the new GeneratedField added in Django 5.0.
View of clouds over the Labrador Peninsula (Canada) taken from a commercial flight.
Creating and activating the virtual environment:
$ python3 -m venv .venv
$ source .venv/bin/activateInstalling the latest version of Django (tested with Django 5.0-5.1):
$ python -m pip install -r requirements.txtStart the shell with the command:
$ python -m manage shellRunning the defined tests:
$ python -m manage testThe Django Generated Fields examples project is licensed under the MIT License.
- 🌍 Blog: www.paulox.net
- 🐙 Github: @[email protected]
- 🦣 Mastodon: @[email protected]
- 🐦️ Twitter: @[email protected]
