-
-
Notifications
You must be signed in to change notification settings - Fork 152
Django versions out-of-date #965
Comments
Hey, @rwillmer, thanks for reporting this! |
I'm sure that you've (@rwillmer) either worked past this or ended up not using this cookiecutter. For anyone else who stumbles upon this issue in the meantime I'd suggest to clone this repo and remove the following lines -> https://github.com/pydanny/cookiecutter-djangopackage/blob/master/hooks/pre_gen_project.py#L17-L22 The caveat here is that when you generate the cookiecutter, it won't generate the correct versions in setup.py and tox.ini. There is a proper fix for this in the works in detailed in #966, but it requires an upstream change which I'm waiting for. |
Why don't we approach this more pragmatically? I see a simple and a more elaborate approach:
The former approach is easily done and reduces the maintenance effort to near zero. The latter is certainly more accurate, but also potentially prone to errors (e.g. lost connectivity, API changes, etc.). |
@bittner You are right, fixing the |
Date you used Cookiecutter DjangoPackage:
7 Jul 2020
Cookiecutter version used, if known:
1.7.2
Python version:
3.7
Operating System:
OSX
Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
What I Did
I created a new djangopackage using this cookiecutter.
It only allows out-of-date versions of Django to be specified.
The current versions for Django are 3.0 and 2.2
The text was updated successfully, but these errors were encountered: