Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Proofread new django-admin 'adminmedia' option from [3811] and [3812]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7cfe56524bbe5233ba3a680a01e8a842f12207f7 1 parent f32318b
Adrian Holovaty authored September 25, 2006
2  django/core/management.py
@@ -1274,7 +1274,7 @@ def execute_from_command_line(action_mapping=DEFAULT_ACTION_MAPPING, argv=None):
1274 1274
     parser.add_option('--verbosity', action='store', dest='verbosity', default='2',
1275 1275
         type='choice', choices=['0', '1', '2'],
1276 1276
         help='Verbosity level; 0=minimal output, 1=normal output, 2=all output'),
1277  
-    parser.add_option('--adminmedia', dest='admin_media_path', default='', help='Lets you manually specify the directory to serve admin media from when running the development server.'),
  1277
+    parser.add_option('--adminmedia', dest='admin_media_path', default='', help='Specifies the directory from which to serve admin media for runserver.'),
1278 1278
 
1279 1279
     options, args = parser.parse_args(argv[1:])
1280 1280
 
2  django/core/servers/basehttp.py
@@ -594,7 +594,7 @@ class AdminMediaHandler(object):
594 594
     Use this ONLY LOCALLY, for development! This hasn't been tested for
595 595
     security and is not super efficient.
596 596
     """
597  
-    def __init__(self, application, media_dir = None):
  597
+    def __init__(self, application, media_dir=None):
598 598
         from django.conf import settings
599 599
         self.application = application
600 600
         if not media_dir:
8  docs/django-admin.txt
@@ -392,10 +392,10 @@ and `2` is verbose output.
392 392
 Example usage::
393 393
     django-admin.py manage.py --adminmedia=/tmp/new-admin-style/
394 394
 
395  
-Tell Django where to find the various stylesheets and Javascript files for the
396  
-admin interface when running the development server. Normally these files are
397  
-served out of the Django source tree, but since some designers change these
398  
-files for their site, this option allows you to test against custom versions.
  395
+Tells Django where to find the various CSS and JavaScript files for the admin
  396
+interface when running the development server. Normally these files are served
  397
+out of the Django source tree, but because some designers customize these files
  398
+for their site, this option allows you to test against custom versions.
399 399
 
400 400
 Extra niceties
401 401
 ==============

0 notes on commit 7cfe565

Please sign in to comment.
Something went wrong with that request. Please try again.