253 Commits

Author SHA1 Message Date
benoitc
122a9d4798 faq. 2010-02-20 15:40:55 +01:00
benoitc
acf0ef4aa4 another typo damn 2010-02-20 15:28:20 +01:00
benoitc
7879739500 typo 2010-02-20 15:26:51 +01:00
benoitc
8e21a580ca coming soon 2010-02-20 14:57:39 +01:00
benoitc
c41da7175f doc in progress 2010-02-20 14:56:03 +01:00
Paul J. Davis
cb0097663c Removing weird page content. 2010-02-19 15:16:02 -05:00
Paul J. Davis
0068595011 More minor changes for removing extensions. 2010-02-19 14:28:36 -05:00
Paul J. Davis
02a2717d40 Removed the need for headers in site docs. 2010-02-19 14:23:42 -05:00
Paul J. Davis
d4834a68c6 Update doc building. 2010-02-19 14:21:56 -05:00
Paul J. Davis
b7cce49f65 Initial doc layout and build script. 2010-02-18 20:37:04 -05:00
benoitc
caba92d937 split only once 2010-02-18 11:56:41 +01:00
benoitc
ad1bd6d313 80 column 2010-02-18 11:51:31 +01:00
benoitc
c557ecc93b the way to get full path is "SCHEME://SERVER_NAME:SERVER_PORT" +
SCRIPT_NAME + PATH_INFO
2010-02-18 11:31:24 +01:00
benoitc
7ca593ace7 by default SCRIPT_name is an empy string. Value could be changed by
passing SCRIPT_NAME in environment (apache way) or as an HTTP header
(nginx way).
2010-02-18 11:15:28 +01:00
benoitc
375298e913 don't print 2010-02-18 10:12:27 +01:00
benoitc
2090bc1a04 prefix worker tmpfile and make sure we delete them when closing the
worker
2010-02-18 10:09:05 +01:00
benoitc
e47f470a38 fix wsgi_multiprocess setting 2010-02-18 01:30:48 +01:00
Benoit Chesneau
ba8174626e speed remote and server address parsing 2010-02-18 01:23:39 +01:00
Benoit Chesneau
56e1d90ab6 close tmp in the right place. 2010-02-17 13:32:43 +01:00
Benoit Chesneau
ea59668787 fix debug in paster entry point 2010-02-17 11:07:57 +01:00
Benoit Chesneau
85b12af1ca make sur app can override options if needed. While I'm here clean a
little the code
2010-02-17 10:59:33 +01:00
Benoit Chesneau
daeab8655c add requirement. spotted by @jbergstroem on irc 2010-02-17 10:19:06 +01:00
Benoit Chesneau
443a6c8363 refactor paster entry point to use Config object. 2010-02-17 10:01:05 +01:00
Benoit Chesneau
b3341e3cbc since refactoring we just need to print the address. 2010-02-17 09:47:09 +01:00
Benoit Chesneau
51a58e58c5 make sure address is a bytestring. While I'm here fix django
run_gunicorn command to use Config and set logger
2010-02-17 09:42:32 +01:00
Benoit Chesneau
d92b669117 fix DJANGO_SETTINGS_MODULE environment variable. It depends on settings
module.
2010-02-16 19:22:50 +01:00
Benoit Chesneau
3c82b1985b some code documentation. 2010-02-16 17:17:47 +01:00
Benoit Chesneau
f4098aa20d some people put their settings in a module like settings/__init__.py .
this change allows it.
2010-02-16 16:41:52 +01:00
Benoit Chesneau
dc5fa6d8ee update README 2010-02-16 16:03:43 +01:00
Benoit Chesneau
3a04c58dee we have no defaults in optparse object so set them manually in usage. 2010-02-16 16:02:34 +01:00
Benoit Chesneau
951c701a32 make sure tempfile of workers is removed. 2010-02-16 15:52:59 +01:00
Benoit Chesneau
95f6ce5618 remove useless print and revert last commit 2010-02-16 15:43:41 +01:00
Benoit Chesneau
d567089c3a remove GUNICORN_FD env after we start 2010-02-16 15:36:37 +01:00
Benoit Chesneau
e7155f4714 obviously since we already used it, it's here. would have been better if we
testes the right. fixed!
variable
2010-02-16 15:23:30 +01:00
Benoit Chesneau
87336be46b remove unused import/var and some fixes 2010-02-16 14:24:40 +01:00
Benoit Chesneau
d54c832fbc reuse the code to run hooks 2010-02-16 11:55:09 +01:00
Benoit Chesneau
9fea7dd34b useless print 2010-02-16 11:08:14 +01:00
Benoit Chesneau
d48bc785e6 add before_exec hook. 2010-02-16 10:32:43 +01:00
Benoit Chesneau
6bc97b926f typo 2010-02-16 10:21:50 +01:00
Benoit Chesneau
cb0be6d454 add after/before fork hooks 2010-02-16 10:19:15 +01:00
Benoit Chesneau
13d9288d69 refactor config and put all in config object 2010-02-16 10:08:07 +01:00
Benoit Chesneau
6497d5aab2 some fixes. 2010-02-16 08:33:49 +01:00
jbergstroem
7dc51eb92b Merge configs from default,file and argv 2010-02-16 08:16:49 +01:00
jbergstroem
5636eb6d00 Switch to execfile instead of imp, suggested by davisp. Introduce default config dict 2010-02-16 08:13:34 +01:00
jbergstroem
34d81a7703 Add method for returning a config (python) file as dict. Heavily inspired by pyconf 2010-02-16 08:12:39 +01:00
Benoit Chesneau
374f0898a9 fix issue #15. patch provided by @lericson . Thanks! 2010-02-15 20:28:09 +01:00
Benoit Chesneau
e8a82c9598 really fix this indent stuff. 2010-02-15 16:02:24 +01:00
Benoit Chesneau
947ddaee40 fix indent. I hate osx sometimes 2010-02-15 15:59:46 +01:00
Benoit Chesneau
6e3fec40fc update README. while I'm here add short option for workers 2010-02-15 15:57:58 +01:00
Benoit Chesneau
ec7614f50c fix django extensions 2010-02-15 15:48:02 +01:00