close
Warning:
Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 17, 2009, 7:25:23 PM (14 years ago)
- Author:
-
hank
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v43
|
v44
|
|
185 | 185 | (InteractiveConsole) |
186 | 186 | >>> import utils.django |
187 | | >>> utils.django.new_secret_key() |
188 | | }}} |
189 | | Copy secret key into settings.py |
| 187 | >>> fout = open("key", "w") |
| 188 | >>> fout.write(utils.django.new_secret_key()) |
| 189 | >>> fout.close() |
| 190 | }}} |
| 191 | Copy secret key from "key" into settings.py |
190 | 192 | |
191 | 193 | '''Copy DB credentials into settings.py''' |