Jean-Zombie / cookiecutter-django-wagtail

Cookiecutter Django + Wagtail
BSD 3-Clause "New" or "Revised" License
71 stars 14 forks source link

Patch 1 #3

Closed Vicarium closed 4 years ago

Vicarium commented 4 years ago

Description

A quick addition to add WAGTAIL_ADMIN_URL to the .envs/.production/.django file. Randomised the same way as DJANGO_ADMIN_URL.

Rationale

If WAGTAIL_ADMIN_URL isn't set there is an error when first running production and it might as well be randomized for the same reasons DJANGO_ADMIN_URL is.

Use case(s) / visualization(s)

Jean-Zombie commented 4 years ago

Hey, thank you for the PR. Good Idea!

I'll just fix the formatting on post_gen_project.py since the Black test fails. Will merge then.