alexdeathway, to django

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?

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

lemeteore, to debian
@lemeteore@mastodon.social avatar

Saved by the #log of journalctl -u gunicorn #Debian #Systemd #Python #Gunicorn #Django

tobide, to django
@tobide@fosstodon.org avatar

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

Has anyone tried #Granian and seen any benefits?

Gunicorn is perfectly fine; I'm just curious.

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

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

sergi, to random
@sergi@floss.social avatar

This 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

sergi, to python
@sergi@floss.social avatar
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

paulox, to python
@paulox@fosstodon.org avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • InstantRegret
  • mdbf
  • ethstaker
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • Durango
  • everett
  • tacticalgear
  • modclub
  • anitta
  • cisconetworking
  • tester
  • ngwrru68w68
  • GTA5RPClips
  • normalnudes
  • megavids
  • Leos
  • lostlight
  • All magazines