mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 13:14:28 +03:00
5 lines
167 B
Python
5 lines
167 B
Python
repo_name = '{{ cookiecutter.repo_name }}'
|
|
|
|
if hasattr(repo_name, 'isidentifier'):
|
|
assert repo_name.isidentifier(), 'Repo name should be valid Python identifier!'
|