Skip to content

Commit

Permalink
[DI-2712] Fix broken tests caused by empty `*_DJANGO_ADMIN_URL value
Browse files Browse the repository at this point in the history
  • Loading branch information
denys-chura committed Oct 21, 2024
1 parent 12a8d1e commit 72e7f4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion {{ cookiecutter.project_slug }}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ cp ./api/.env.example ./api/.env
```
> [!IMPORTANT]
> It is highly advised to use custom admin location instead of default `admin/`.
> To do that you need set `{{ cookiecutter.__env_prefix }}DJANGO_ADMIN_URL` environment variable in `./api/.env` file.
> To do that you need set `{{ cookiecutter.__env_prefix }}DJANGO_ADMIN_URL` environment variable in `./api/.env` file
> with custom value.
### Run application with required services

Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.project_slug }}/api/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ cookiecutter.__env_prefix }}EMAIL_PORT=1025
{{ cookiecutter.__env_prefix }}EMAIL_USE_TLS=off

{{ cookiecutter.__env_prefix }}DJANGO_ADMIN_URL=
{{ cookiecutter.__env_prefix }}DJANGO_ADMIN_URL=admin/

# Minio credentials
AWS_S3_ACCESS_KEY_ID={{ cookiecutter.__minio_access_key }}
Expand Down

0 comments on commit 72e7f4f

Please sign in to comment.