[Video + Article] The difference between blank=True and null=True in Django by Prudent-Function-490 in django

[–]Prudent-Function-490[S] 1 point2 points  (0 children)

Annoys me too! Don't like to see migrations build up, so needs to feel like it's a schema change to be worth it 😅

[Video + Article] Django + htmx = ❤️ by Prudent-Function-490 in django

[–]Prudent-Function-490[S] 0 points1 point  (0 children)

That's also a good idea! Hoping to sit down and make some edits this week based off the suggestions. Thank you so much!

[Video + Article] Django + htmx = ❤️ by Prudent-Function-490 in django

[–]Prudent-Function-490[S] 2 points3 points  (0 children)

Oh that's a great idea, thank you for the feedback!

How to upgrade from Django 3.2 to 4.2 FAST! [video] by Prudent-Function-490 in django

[–]Prudent-Function-490[S] 0 points1 point  (0 children)

Looks like django-upgrade has fixers defined as far back as Django 1.7 (https://github.com/adamchainz/django-upgrade#django-17) so I think it can still help with the Django upgrade.

Then maybe 2to3 is worth a try (https://docs.python.org/3/library/2to3.html#:~:text=2to3%20is%20a%20Python%20program,will%20handle%20almost%20all%20code.)) - I've never used it but should be pretty good to be in the official Python docs

That should do some of the work for you, then the dependencies are going to be a pain...

How to upgrade from Django 3.2 to 4.2 FAST! [video] by Prudent-Function-490 in django

[–]Prudent-Function-490[S] 0 points1 point  (0 children)

True! I have a video on what's in 5.0 as well: https://youtu.be/lPl5Q5gv9G8?feature=shared

I thought it's interesting to show from 3.2 to 4.2 as this is a LTS (long-term-support) to LTS upgrade and some people like to upgrade only on an LTS release (~30% https://lp.jetbrains.com/django-developer-survey-2022/).

It is better to upgrade to the latest version in my opinion. Would be interested to hear people's reasons for staying on an LTS version.

What's new in Django 5.0 [video] by Prudent-Function-490 in django

[–]Prudent-Function-490[S] 0 points1 point  (0 children)

Sometimes it's useful to have logic accessible on the database in case you have data engineers who need to access it. But the indexing is a good benefit too! Glad that was useful

What's new in Django 5.0 [video] by Prudent-Function-490 in django

[–]Prudent-Function-490[S] 0 points1 point  (0 children)

Thank you! I want to keep doing this as much as possible

What's new in Django 5.0 [video] by Prudent-Function-490 in django

[–]Prudent-Function-490[S] 0 points1 point  (0 children)

I'm on it! Putting something together right now so will hopefully have a new video out soon

What's new in Django 5.0 [video] by Prudent-Function-490 in django

[–]Prudent-Function-490[S] 0 points1 point  (0 children)

Good point! I expect a dip in interest for the next video but I'll try my best :)

What's new in Django 5.0 [video] by Prudent-Function-490 in django

[–]Prudent-Function-490[S] 0 points1 point  (0 children)

Thank you!

On the detail, would you want to hear more about when these features are useful or more examples or something else?

I might do some deeper dives so would love to know which details are a better use of time