Django

Code

Changeset 3174

Show
Ignore:
Timestamp:
06/20/06 00:24:19 (2 years ago)
Author:
adrian
Message:

Added django/core/servers/fastcgi.py and manage.py 'runfcgi' option. Thanks, jcrasta@gmail.com

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/AUTHORS

    r3162 r3174  
    6666    Robert Rock Howard <http://djangomojo.com/> 
    6767    Jason Huggins <http://www.jrandolph.com/blog/> 
     68    jcrasta@gmail.com 
    6869    Michael Josephson <http://www.sdjournal.com/> 
    6970    jpellerin@gmail.com 
  • django/trunk/django/core/management.py

    r3134 r3174  
    10821082dbshell.args = "" 
    10831083 
     1084def runfcgi(args): 
     1085    """Run this project as a FastCGI application. requires flup.""" 
     1086    from django.core.servers.fastcgi import runfastcgi 
     1087    runfastcgi(args) 
     1088runfcgi.args = '[various KEY=val options, use `runfcgi help` for help]' 
     1089 
    10841090# Utilities for command-line script 
    10851091 
     
    10921098    'install': install, 
    10931099    'reset': reset, 
     1100    'runfcgi': runfcgi, 
    10941101    'runserver': runserver, 
    10951102    'shell': run_shell, 
     
    12111218                addr, port = '', args[1] 
    12121219        action_mapping[action](addr, port) 
     1220    elif action == 'runfcgi': 
     1221        action_mapping[action](args[1:]) 
    12131222    else: 
    12141223        from django.db import models