Skip to content

Code related to the article "Database generated columns ⁽¹⁾: Django & SQLite" (paulox.net), to be used to experiment with the new `GeneratedField` added in Django 5.0.

License

pauloxnet/generatedfields

Repository files navigation

Django Generated Fields examples

Code related to the article Database generated columns ⁽¹⁾: Django & SQLite, to be used to experiment with the new GeneratedField added in Django 5.0.

© 2023 Paolo Melchiorre “View of clouds over the Labrador Peninsula (Canada) taken from a commercial flight.”

View of clouds over the Labrador Peninsula (Canada) taken from a commercial flight.

💻 Set Up

⚗️ Virtual environment

Creating and activating the virtual environment:

$ python3 -m venv .venv
$ source .venv/bin/activate

🦄 Django

Installing the latest version of Django (tested with Django 5.0b1):

$ python3 -m pip install -r requirements.txt

🐚 Shell

Start the shell with the command:

$ python3 -m manage shell

🔬 Tests

Running the defined tests:

$ python3 -m manage test

⚖️ License

The Django Generated Fields examples project is licensed under the MIT License.

👥 Authors

👤 Paolo Melchiorre

About

Code related to the article "Database generated columns ⁽¹⁾: Django & SQLite" (paulox.net), to be used to experiment with the new `GeneratedField` added in Django 5.0.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages