Changeset 2542

Show
Ignore:
Timestamp:
12/03/08 10:16:18 (1 month ago)
Author:
taher
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/doc/cookbook_django.txt

    r2346 r2542  
    101101 
    102102image::media/images/cookbook_django.png[Django example] 
     103 
     104********************************************************************* 
     105Should you wish to deploy your Django application directly instead of 
     106through `manage.py` this could be easily achieved. Just remember to 
     107daemonize the script used to launch the interpreter in the relevant 
     108`information source`. 
     109 
     110This is done adding the appropriate parameter to the `runfastcgi` 
     111method of `django.core.servers.fastcgi` in your script. 
     112 
     113.Using a unix socket: 
     114---- 
     115from django.core.servers.fastcgi import runfastcgi 
     116 
     117runfastcgi(method="threaded", daemonize="true", maxrequests=5,  
     118           protocol="scgi", socket="/tmp/cherokee-django.socket", 
     119           pidfile="/tmp/cherokee-django.pid") 
     120---- 
     121 
     122.Using a host:port configuration: 
     123---- 
     124from django.core.servers.fastcgi import runfastcgi 
     125 
     126runfastcgi(method="threaded", daemonize="true", maxrequests=5,  
     127           protocol="scgi", host="127.0.0.1", port=3033) 
     128---- 
     129********************************************************************* 
  • cherokee/trunk/doc/media/css/cherokee_doc.css

    r2424 r2542  
    267267 
    268268div.imageblock div.content { text-align:center; padding-left: 0; //margin-left:100px; } 
    269 div.imageblock img { border: 1px solid silver; } 
     269div.imageblock img {  
     270  border: 1px solid silver;  
     271  margin-top: 10px; 
     272  margin-bottom: 10px; 
     273
     274 
    270275span.image img { border-style: none; } 
    271276