I'm trying to set a Django secret key as a local environment variable in my venv/bin/activate
.
But the key has a "(" in it and I get a venv error -bash: venv/bin/activate: line 85: syntax error near unexpected token ')'
I'm a bit stuck here. How can I set this Key as a local environment variable so that it accepts these special characters?
Surround the string with single or double quotes. For longer strings (more than one line), you can use single or double quotes in sets of three. For more information and examples, refer to http://docs.python.org/release/2.5.2/ref/strings.html.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With