paulox, (edited ) to django
@paulox@fosstodon.org avatar

I published my latest article in the series on database-generated columns, using PostgGIS, GeoDjango, and the GeneratedField added in Django 5.0 🤖🌍

Send feedback 👇
https://www.paulox.net/2023/12/11/database-generated-columns-part-3-geodjango-and-postgis/

#Django #Database #Python #SQL #PostgGIS #GeneratedColumn #GeneratedField #ORM #GeoDjango

paulox, (edited ) to django
@paulox@fosstodon.org avatar

Django 5.0 has been released 🎉

After months of work, everyone can use this great new version 🙌

My favorite features are:
• 🤖 generated fields
• ✅ database default values
• 🔑 prefetch related for generic foreign keys

Which are your favorite features?
https://www.djangoproject.com/weblog/2023/dec/04/django-50-released/

#Django #GeneratedField #GeneratedColumn #Database #ORM #SQLite #PostgreSQL #MySQL #MariaDB #Default #ForeignKey #Django5 #Python #Python312 #Web #Framework #Release #ORM

paulox, to django
@paulox@fosstodon.org avatar

I published my second article about database generated columns, using PostgreSQL and new generated fields added in Django 5.0 🤖🐘

I'd be very happy to have your feedback 🤗
https://www.paulox.net/2023/11/24/database-generated-columns-part-2-django-and-postgresql/

#Django #Database #Python #SQL #PoatgreSQL #GeneratedColumn #GeneratedField #ORM

paulox, to PostgreSQL
@paulox@fosstodon.org avatar

I'm working on the 2nd article in the series on #GeneratedField and #PostgreSQL ✍️
While doing some tests with models with multi-table inheritance, I found an error that I reported on the Django issue tracker 🐛
Help us fix it before #Django 5.0 release 👇
https://code.djangoproject.com/ticket/34985

paulox, to django
@paulox@fosstodon.org avatar

After Django 5.0rc1 release, I updated my generated fields article ✨

I also tried to improve the titles as suggested by @adamchainz whom I thank 🎨

All feedback is welcome 🤗

https://www.paulox.net/2023/11/07/database-generated-columns-part-1-django-and-sqlite/

#Django #Database #Python #SQL #SQLite #GeneratedColumn #GeneratedField #ORM

paulox, (edited ) to django
@paulox@fosstodon.org avatar

I published an introduction to database generated columns, using SQLite and the new GeneratedField added in Django 5.0 🤖

I'd be very happy to have your feedback on my article 🤗

https://www.paulox.net/2023/11/07/database-generated-columns-part-1-django-and-sqlite/

#Django #Database #Python #SQL #SQLite #GeneratedColumn #GeneratedField #ORM #DjangoCon

paulox,
@paulox@fosstodon.org avatar

@programmylife there's a Database limitations admonition in the GeneratedField section of the Django documentation:
https://docs.djangoproject.com/en/5.0/ref/models/fields/#generatedfield
"There are many database-specific restrictions on generated fields that Django doesn’t validate and the database may raise an error …"

paulox, to django
@paulox@fosstodon.org avatar

Continuing with my experiments with Django 5.0 generated fields I found two error situations that I reported in this potentially blocking release issue. 🐛

Any help in the resolution could be useful since the release of Django 5.0 is only a month away. 🆘

https://code.djangoproject.com/ticket/34944

#django #generatedfield #issue

paulox, to django
@paulox@fosstodon.org avatar

I found my second bug in Django 5.0 after the feature freeze 🐛

It's related to GeneratedField and DecimalField and maybe you can help to fix it 👇
https://code.djangoproject.com/ticket/34877

#django #django5 #bug #generatedfield #decimalfield #sql #orm #migrations

paulox, to django
@paulox@fosstodon.org avatar

I found my first bug in Django 5.0 after the feature freeze 🐛

It's related to GeneratedField and JSONField and maybe you can help to fix it 👇
https://code.djangoproject.com/ticket/34861

#django #django5 #bug #generatedfield #jsonfield #json #sql #orm #migrations

raiderrobert, to django
@raiderrobert@mastodon.social avatar

I have been waiting for Generated columns in #Django for so very, very long: https://docs.djangoproject.com/en/dev/ref/models/fields/#generatedfield

Thank you to the kind soul who finally got this over the line.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines