qlp, to python
@qlp@linh.social avatar

Anyone using Gunicorn for their Python web application should keep an eye out for a new version that fixes CVE-2024-1135.

CVE: https://nvd.nist.gov/vuln/detail/CVE-2024-1135

Gunicorn PR: https://github.com/benoitc/gunicorn/pull/3113

#Python #Gunicorn

sergi, to python
@sergi@floss.social avatar
tobide, to django
@tobide@fosstodon.org avatar

Are there devs out there using anything other than ? If so, what and why?

Has anyone tried and seen any benefits?

Gunicorn is perfectly fine; I'm just curious.

https://github.com/emmett-framework/granian

alexdeathway, to django
@alexdeathway@fosstodon.org avatar

Upgraded my project from Django 3.2.19 to 5.1.0.

Now facing status code 403 forbidden(Origin checking failed - null does not match any trusted origins).

Tried adding CSRF_TRUSTED_ORIGINS in settings.py with no success.

Live: https://gecom.alexdeathway.me Github: https://github.com/alexdeathway/gecom

Techstack: #django , #gunicorn , #nginx, #docker , #certbot (for SSL), #HTML and #bootstrap

Other relevant info: Using #CloudFlare as a DNS resolver.

Anybody who faced similar issue?

lemeteore, to debian
@lemeteore@mastodon.social avatar

Saved by the of journalctl -u gunicorn

sergi, to random
@sergi@floss.social avatar

This #SQLAlchemy question has been in my head these past few days, so I finally decided to post it on the official support channels. If by any chance you know the answer, please let me know!

https://github.com/sqlalchemy/sqlalchemy/discussions/10392

#Flask #gunicorn

sodimel, to django French
@sodimel@mamot.fr avatar

Nouvel article sur mon blog : Configuration d'un site avec Apache, Django & Gunicorn

https://l3m.in/article/configuration-d039un-site-avec-apache-django-et-gunicorn

#django #gunicorn #apache #sysadmin

sergi, to python
@sergi@floss.social avatar

@hynek I know you have some snippets about using #structlog with #Flask on the docs, bu do you know of a sample repo with something like "this is a sample Flask app with everything set up to show basic request information on stdout and/or a log file using structlog"? Extra points if it has configuration for #gunicorn.

#logging #Python

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