mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-08 05:54:53 +03:00
Inline pre_gen_project.py if-condition
This commit is contained in:
parent
6ee9ed28ea
commit
15836bf662
|
@ -22,8 +22,7 @@ if hasattr(project_slug, 'isidentifier'):
|
|||
|
||||
assert "\\" not in "{{ cookiecutter.author_name }}", "Don't include backslashes in author name."
|
||||
|
||||
using_docker = '{{ cookiecutter.use_docker }}'.lower()
|
||||
if using_docker == 'n':
|
||||
if '{{ cookiecutter.use_docker }}'.lower() == 'n':
|
||||
python_major_version = sys.version_info[0]
|
||||
if python_major_version == 2:
|
||||
print(
|
||||
|
|
Loading…
Reference in New Issue
Block a user