Ticket #5224: fix_admin_media_dir_option.diff

File fix_admin_media_dir_option.diff, 784 bytes (added by alberto@…, 8 years ago)

Fix to the admin media loading on runserver

  • django/core/management/__init__.py

     
    100100        parser.add_option('--verbosity', action='store', dest='verbosity', default='1',
    101101            type='choice', choices=['0', '1', '2'],
    102102            help='Verbosity level; 0=minimal output, 1=normal output, 2=all output')
    103         parser.add_option('--adminmedia', dest='admin_media_path', default='',
     103        parser.add_option('--adminmedia', dest='admin_media_dir', default='',
    104104            help='When using "runserver": Specifies the directory from which to serve admin media.')
    105105        options, args = parser.parse_args(argv[1:])
    106106
Back to Top