nautobot / cookiecutter-nautobot-app

Cookiecutter template for creating new Nautobot Apps.
https://docs.nautobot.com/projects/cookiecutter-nautobot-app/en/latest/
Apache License 2.0
16 stars 5 forks source link

`urls.py` should not be deleted on post-gen hook #196

Closed gsnider2195 closed 4 days ago

gsnider2195 commented 2 weeks ago

This file is always required now so we need to remove it from the list of files to delete on post generation here

We'll need to make some changes to urls.py if {{ cookiecutter.model_class_name }}" == "None". Ex: https://github.com/nautobot/cookiecutter-nautobot-app/blob/f20c398098267b9cf628f2843ea223cec439afde/nautobot-app/%7B%7B%20cookiecutter.project_slug%20%7D%7D/%7B%7B%20cookiecutter.app_name%20%7D%7D/urls.py#L8C1-L8C46

TODO: