1 |
On Tue, 21 May 2013 12:56:50 +0400 |
2 |
"Nikolaj Sjujskij" <sterkrig@×××××××.com> wrote: |
3 |
|
4 |
> Den 2013-05-20 20:37:53 skrev IAN DELANEY <della5@×××××××××.au>: |
5 |
> |
6 |
> > Ja, tack tack for att forsoka, med nej. (Please add the grammatical |
7 |
> > nice-ities to the vowel o). |
8 |
> I've got bad news for you: actually my native language is Russian :) |
9 |
> |
10 |
Oh dear, more bad news, this isn't a good week. Header read; |
11 |
"Den 2013-05-20 20:37:53 skrev" |
12 |
Den is 'the', skrev is wrote in swedish. |
13 |
|
14 |
> > I got a fix from #django on the second |
15 |
> > attempt. I was close on the first attempt, so for the benefit of |
16 |
> > all, |
17 |
> > |
18 |
> > first export SECRET_KEY='green', followed by |
19 |
> > |
20 |
> > - "from django.conf import \ |
21 |
> > global_settings;global_settings.SECRET_KEY='green'" ${test} |
22 |
> > + "from django.conf import \ |
23 |
> > global_settings;global_settings.SECRET_KEY='$SECRET_KEY'" ${test} |
24 |
|
25 |
well I'm open to an explanation too, but in brief, he said set the key |
26 |
in bash, then on a second attempt on re-reading my query more closely, |
27 |
he corrected it to the above. An alternate was SECRET_KEY="green" |
28 |
python -c ..., that is pre-pending the setting of the secret key to the |
29 |
call to python, which should work if you try. I settled for the above. |
30 |
|
31 |
> I positively fail to see how that change could fix anything. |
32 |
> |
33 |
> % python global_settings.py |
34 |
> <module 'django.conf.global_settings' from |
35 |
> '/usr/lib64/python2.7/site-packages/django/conf/global_settings.pyc'> |
36 |
> |
37 |
I'm guessing here the manufactured global_settings.py could be used |
38 |
effectively, I'd have to go back and try some more to do so. But hey |
39 |
thx for the effort. |
40 |
|
41 |
> % python -c 'import sys; print sys.platform' global_settings.py |
42 |
> linux2 |
43 |
> |
44 |
> > and presto. |
45 |
> > |
46 |
> > * python2_7: running distutils-r1_run_phase python_test |
47 |
> > * test test_compiler.py passed under python2.7 |
48 |
> > * test test_compressor.py passed under python2.7 |
49 |
> > another bug bites the dust. |
50 |
> Well, if that somehow had worked, it's all right, I guess. |
51 |
> |
52 |
a good news snippet to offset the bad. What can I say? |
53 |
|
54 |
|
55 |
|
56 |
-- |
57 |
kind regards |
58 |
|
59 |
Ian Delaney |