Nathan on Nostr: I've run into the weirdest #Django issue, when my app's settings.py file has ...
I've run into the weirdest #Django issue, when my app's settings.py file has Debug=False *.zip files won't download and generate a 404, even in the admin view they 404.
By setting the production site to "Debug=True" and the files download correctly.
Published at
2025-02-27 12:47:59Event JSON
{
"id": "fd0b8e7c91602e514bef48c3292c859ece17c8909c2af05c67f44965acb34e49",
"pubkey": "50d48b4f2efe32ae5c010bfbd29faff24e1cac703755060f6b29316aba7dce17",
"created_at": 1740660479,
"kind": 1,
"tags": [
[
"t",
"django"
],
[
"proxy",
"https://mastodon.bsd.cafe/users/Nathan/statuses/114075925184272006",
"activitypub"
]
],
"content": "I've run into the weirdest #Django issue, when my app's settings.py file has Debug=False *.zip files won't download and generate a 404, even in the admin view they 404. \n\nBy setting the production site to \"Debug=True\" and the files download correctly.",
"sig": "4ad7297884307f6cb4cb4f07654683e511e3199da56c972b2ef8766d9ce8fb6aa69fe9bb9f0119e93e670bb6395b019d1b69f5d7ec56645cd64defd8577b1f3d"
}