re: How to manage Local vs Dev vs Prod in latest Django RestAPI? VIEW POST


Not an avid django/python user but maybe consider keeping local, dev and prod in .env files and passing the variables into the file. That way any sensitive info is kept consistently in key value pair files and can be easily swapped. Might be inaccurately prescribed, it comes from node.js tinkering. Best of luck. 😁

code of conduct - report abuse