danielquinn, to django
@danielquinn@mastodon.social avatar

I've finally finished my new #Django module, "django-cool-urls". You can use it to make sure your site never has another outgoing dead link, or just to convert YouTube embeds into proper <video> tags pointing to local files.

Explanatory blog post: https://danielquinn.org/blog/django-cool-urls/

PyPI: https://pypi.org/project/django-cool-urls/

Source code: https://gitlab.com/danielquinn/django-cool-urls

Docs: https://danielquinn.gitlab.io/django-cool-urls/

It's already in use on my own site, but perhaps someone else will find it useful.

webology,
@webology@mastodon.social avatar

@danielquinn This is pretty neat. Have you considered an optional archive.org support? That could trigger an index and link to an exact version in time without storing a copy of the whole page.

sabderemane, to django
@sabderemane@mastodon.social avatar

I know some folks were interested in adding django-csp to Django, worth to follow this post and give your thoughts if you have any:

https://forum.djangoproject.com/t/adding-csp-support-to-django/31526

pythonbynight, to django
@pythonbynight@fosstodon.org avatar

Oh Snap! Excited! I've been selected for a thing.

lemeteore, to django
@lemeteore@mastodon.social avatar
felixxm, to django
@felixxm@fosstodon.org avatar

DjangoCon Europe is coming 🎉 🇪🇸 ! It's time for a family reunion 🤗 😉 buenos días con mis amigos 🍷 🥳

benjaoming,
@benjaoming@social.data.coop avatar

@felixxm @jsalvador you should! and try to time it with October 4 :D

sabderemane,
@sabderemane@mastodon.social avatar

@felixxm hahaha, it's a small one! See you in Vigo 😄

markwalker, to django
@markwalker@fosstodon.org avatar

Just one meeting with the designer for the @djangocms redesign and it's inspired a new take on our frontend app.

They're using django-components to avoid duplication in & out of cms content. So Fabian is looking at that same concept from a new template tag...
https://github.com/django-cms/djangocms-frontend/pull/220

adamchainz, to django
@adamchainz@fosstodon.org avatar

🆙 django-upgrade 1.18.0 is out, with support for Django 5.1 (currently in alpha) and a fixer for the argument rename in CheckConstraint:

https://github.com/adamchainz/django-upgrade?tab=readme-ov-file#django-51

#Django

stuartm,
@stuartm@fosstodon.org avatar

@adamchainz I guess it's a good thing that it hasn't needed to fix much for the 5.x releases.

adamchainz,
@adamchainz@fosstodon.org avatar

@stuartm Yes it’s nice that Django is stable and reliable, though I’d also be happy to see some more mass-refactorable changes to make things more ergonomic :)

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

django-simple-depoy 0.6.3 is out. This fixes a bug with Platform.sh deployments, and improves consistency internally across platforms.

Also, 60+ vague exploratory issues have been trimmed to ~20 task-oriented issues.

https://github.com/ehmatthes/django-simple-deploy/blob/main/CHANGELOG.md

ehmatthes,
@ehmatthes@fosstodon.org avatar

Next up, make Platform.sh deployments more resilient. Right now they fail if you already have a project deployed there.

After that, I think it's time to build out the plugin model. :)

nanorepublica, to django
@nanorepublica@indiehackers.social avatar

📣 Django apps - a single app
📄 One app to rule them all
🔗 https://softwarecrafts.co.uk/100-words/day-100
#100_words,#django,#django_apps,#single_app

ghickman,
@ghickman@mastodon.social avatar

@nanorepublica 100 🎉

carlton, to django
@carlton@fosstodon.org avatar

Got at least one commit into #Django 5.2 ✅ Can put my feet up now 🛋️

https://github.com/django/django/pull/18204

mahryekuh,
@mahryekuh@fosstodon.org avatar
carlton,
@carlton@fosstodon.org avatar

@mahryekuh @hvdklauw a pun on the content of the commit.

mblayman, to django
@mblayman@mastodon.social avatar

💡 You've got your web app ready and you're ready to show the world. This article helps you understand the important aspects of making a web app live on the internet. https://www.mattlayman.com/understand-django/deploy-site-live/

ehmatthes, to random
@ehmatthes@fosstodon.org avatar

I just released django-simple-deploy 0.6.2, the first release in quite a while.

You can use it to make multiple deployments to Fly.io. Heroku deployments are updated as well.

I'm making steady progress toward a plugin-based model, and should be able to make regular releases over the next few weeks.

Changelog: https://github.com/ehmatthes/django-simple-deploy/blob/main/CHANGELOG.md

#Python #Django

djangoconeurope, to django
@djangoconeurope@fosstodon.org avatar

⏰ Have you checked the schedule for DjangoCon Europe 2024? Don't miss your chance to plan which talks and workshops you'll attend. Dive in now and make the most of your conference experience! 💼✨

https://pretalx.evolutio.pt/djangocon-europe-2024/schedule/

offby1, to django
@offby1@wandering.shop avatar

Is it me or is the #Django documentation for project templates uncharacteristically bad?

Like, I have so many questions about how this templating works. Do I get to template filenames? How? Can I include the template as a subdirectory in a repository, or do I need to have it hosted in its own? How about providing one as part of a wheel?

I would love to build a project template into NomNom, so that later worldcons can just “django-admin startapp --template nomnom:basic_template" or something.

offby1,
@offby1@wandering.shop avatar
ghickman,
@ghickman@mastodon.social avatar

@offby1 🎉

mblayman, to django
@mblayman@mastodon.social avatar

💾 With a web app, data is stored in a database, but we don't directly interact with the database. Instead, we write classes called "models." Learn all about Django models in this article. https://www.mattlayman.com/understand-django/store-data-with-models/

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