DEV Community

Discussion on: Why ASGI is Replacing WSGI in Django

Collapse
 
steelwolf180 profile image
Max Ong Zong Bao

Hmm.. haven't been using pythonanywhere for a while. I might think of writing it soon.

Collapse
 
dmaina5054 profile image
Daniel Maina

Thank you..how do you set your environment variables. I am deploying a project that requires twitter api credentials.

Thread Thread
 
steelwolf180 profile image
Max Ong Zong Bao

Did you try this?

Thread Thread
 
dmaina5054 profile image
Daniel Maina

Yes i did. That is what i was following. I can get the SECRET_KEY in my bash shell but the code provides an error that the secret_key environment variable is not set.