Changeset 6001
- Timestamp:
- 08/25/07 06:17:33 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/core/management/commands/runserver.py
r5911 r6001 31 31 32 32 use_reloader = options.get('use_reloader', True) 33 admin_media_ dir = options.get('admin_media_dir', '')33 admin_media_path = options.get('admin_media_path', '') 34 34 shutdown_message = options.get('shutdown_message', '') 35 35 quit_command = (sys.platform == 'win32') and 'CTRL-BREAK' or 'CONTROL-C' … … 43 43 print "Quit the server with %s." % quit_command 44 44 try: 45 path = admin_media_ diror django.__path__[0] + '/contrib/admin/media'45 path = admin_media_path or django.__path__[0] + '/contrib/admin/media' 46 46 handler = AdminMediaHandler(WSGIHandler(), path) 47 47 run(addr, int(port), handler)
