Hey everyone!
So, I’m working on this Python project and trying to figure out how to properly configure the httpx url in settings python. I’ve been scratching my head for a while now, and I’m not sure if I’m doing it right.
Like, do I just dump the URL as a string in the settings file? Or is there some fancy way to handle it with environment variables or something? I’ve seen people use `.env` files, but I’m not sure if that’s overkill for just setting up the httpx url in settings python.
Also, what’s the best practice for handling different environments (dev, prod, etc.)? Should I hardcode it or use some dynamic config?
Any tips or examples would be super helpful! Thanks in advance, y’all.
Cheers!
So, I’m working on this Python project and trying to figure out how to properly configure the httpx url in settings python. I’ve been scratching my head for a while now, and I’m not sure if I’m doing it right.
Like, do I just dump the URL as a string in the settings file? Or is there some fancy way to handle it with environment variables or something? I’ve seen people use `.env` files, but I’m not sure if that’s overkill for just setting up the httpx url in settings python.
Also, what’s the best practice for handling different environments (dev, prod, etc.)? Should I hardcode it or use some dynamic config?
Any tips or examples would be super helpful! Thanks in advance, y’all.
Cheers!
