mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-14 10:02:27 +03:00
parent
5d38d0ce88
commit
becd2dce13
|
@ -30,9 +30,8 @@ if "{{ cookiecutter.use_docker }}".lower() == "n":
|
||||||
python_major_version = sys.version_info[0]
|
python_major_version = sys.version_info[0]
|
||||||
if python_major_version == 2:
|
if python_major_version == 2:
|
||||||
print(
|
print(
|
||||||
WARNING + "Cookiecutter Django does not support Python 2. "
|
WARNING + "You're running cookiecutter under Python 2, but the generated "
|
||||||
"Stability is guaranteed with Python 3.6+ only, "
|
"project requires Python 3.6+. Do you want to proceed (y/n)? " + TERMINATOR
|
||||||
"are you sure you want to proceed (y/n)? " + TERMINATOR
|
|
||||||
)
|
)
|
||||||
yes_options, no_options = frozenset(["y"]), frozenset(["n"])
|
yes_options, no_options = frozenset(["y"]), frozenset(["n"])
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user