mirror of
https://github.com/django/django.git
synced 2025-11-24 21:00:12 +00:00
[py3] Replaced raw_input by input
The six addition has been borrowed from:
733ef740
This commit is contained in:
parent
b1517a310a
commit
b8e49d70f2
9 changed files with 20 additions and 11 deletions
|
|
@ -8,6 +8,7 @@ from django.core.files.storage import FileSystemStorage
|
|||
from django.core.management.base import CommandError, NoArgsCommand
|
||||
from django.utils.encoding import smart_text
|
||||
from django.utils.datastructures import SortedDict
|
||||
from django.utils.six.moves import input
|
||||
|
||||
from django.contrib.staticfiles import finders, storage
|
||||
|
||||
|
|
@ -148,7 +149,7 @@ class Command(NoArgsCommand):
|
|||
clear_display = 'This will overwrite existing files!'
|
||||
|
||||
if self.interactive:
|
||||
confirm = raw_input("""
|
||||
confirm = input("""
|
||||
You have requested to collect static files at the destination
|
||||
location as specified in your settings%s
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue