mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-30 17:59:48 +03:00
Use project_slug instead of project_name for cookiecutter-webpack to avoid npm errors
This commit is contained in:
parent
02ce5b4250
commit
f2cd307423
|
@ -171,7 +171,7 @@ def add_webpack():
|
|||
'https://github.com/hzdg/cookiecutter-webpack.git',
|
||||
replay=False, overwrite_if_exists=True, output_dir='../',
|
||||
checkout='pydanny-django', no_input=True, extra_context={
|
||||
'project_name': '{{ cookiecutter.project_name }}',
|
||||
'project_name': '{{ cookiecutter.project_slug }}',
|
||||
'repo_name': '{{ cookiecutter.project_slug }}',
|
||||
'repo_owner': '',
|
||||
'project_dir': '{{ cookiecutter.project_slug }}',
|
||||
|
|
Loading…
Reference in New Issue
Block a user