mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 03:24:01 +03:00
fa89445f66
* Address issue #534 * missing comma added * remove unecesssary version check #534
7 lines
184 B
Python
7 lines
184 B
Python
project_slug = '{{ cookiecutter.project_slug }}'
|
|
|
|
if hasattr(project_slug, 'isidentifier'):
|
|
assert project_slug.isidentifier(), 'Project slug should be valid Python identifier!'
|
|
|
|
|