Wednesday, November 4, 2020

Re: Django SECRET KEY

I use the Environment variable that is in Windows and later in the script I pull the values using os.environ.get('Key_Name')  #Since this is a dictionary, we use '' " . 
  
With Best Regards,
Abhishek Choudhury
Ph. No.: +91 7903717967





On Wed, Nov 4, 2020 at 8:30 PM Kegan Ronholt <kronholt273@gmail.com> wrote:
What is the best practice for hiding SECRET key in settings.py in production. I am finding all sorts of different ways to do it, but none seem to work.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6660766c-6ed4-4500-9006-c8289158f749n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B3kJUZWS%3D_UWYLXuYs8nncVUeo_MDG8jbBzshXg1_k_houZ4w%40mail.gmail.com.

No comments:

Post a Comment