mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 01:26:57 +03:00
Prevent error in data migration caused by long project name (#4525)
* Test very long project names on CI * Fix migration
This commit is contained in:
parent
41d81b6286
commit
b9550a1dab
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -75,7 +75,7 @@ jobs:
|
|||
- name: Webpack
|
||||
args: "frontend_pipeline=Webpack use_heroku=y"
|
||||
- name: Email Username
|
||||
args: "username_type=email ci_tool=Github"
|
||||
args: "username_type=email ci_tool=Github project_name='Something superduper long - the great amazing project' project_slug=my_awesome_project"
|
||||
|
||||
name: "Bare metal ${{ matrix.script.name }}"
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -41,7 +41,7 @@ def update_site_forward(apps, schema_editor):
|
|||
Site,
|
||||
schema_editor.connection,
|
||||
"{{ cookiecutter.domain_name }}",
|
||||
"{{cookiecutter.project_name}}",
|
||||
"{{ cookiecutter.project_name[:50] }}",
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user