mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-10 21:53:11 +00:00
4 lines
167 B
Python
4 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!'
|