Tuesday, March 25, 2014

Re: Get secret key from django settings

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJTMbB9AAoJELMiOgVOfjkQDGAIAKQOSjjLlJRTDsqZ7smuhJQd
31o4s8FxRcMc5n/GgTlj9/0QyD0VSKADiSRcMWJmck9qxyXY94eyC5O10UjVOZ0v
jCA/wxjfU+eVLCOaoG9EWwcJu3CZJAsRzTHIiNC+ZrwPHYYb+TnDAHh5QjQEorXJ
tHRF9CRj1RJig7e6BtkA05f0i0UNHaOvB7vuDBUmWP1ArG0GAYCu0JRDLMBHraHv
bfsM5xVB02/SPPFJT5oprEsjoOw5tKfFanabbNMN+D34JzjnEMKp8J6lm/+LH6uA
n+DeKBaV/HxzKGm7RTBCeu7YKutfXppb1Cu+8phR4OmkZFPRpt39hArj0zvPS8M=
=7x3T
-----END PGP SIGNATURE-----
110-130 milliseconds to 'import' something, sounds very suspect to me.

François

On Mar 25, 2014, at 12:08 PM, Errfan Wadia <wadiairfan.02@gmail.com> wrote:

> Hi Daniel,
>
> When I try to get the SECRET_KEY from settings.py in one of the app, it takes around 110-130 millisec. Here I am talking about execution time.
>
> On Tuesday, 25 March 2014 18:31:01 UTC+5:30, Daniel Roseman wrote:
> On Tuesday, 25 March 2014 06:36:53 UTC, Errfan Wadia wrote:
> Hi,
>
> I am using from django.conf import settings
> Is there any faster way to get the SECRET_KEY in one of my app from settings.py ?
>
> What do you mean, faster? In what way is that slow?
> --
> DR.
>
> --
> 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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/be8a456f-1f0e-47bd-9116-94ac54304b3d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment