Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Django skeleton #28

Merged
merged 3 commits into from
Jul 8, 2018
Merged

Upgrade Django skeleton #28

merged 3 commits into from
Jul 8, 2018

Conversation

bittner
Copy link
Member

@bittner bittner commented Jul 8, 2018

This skeleton upgrade for Django further pushes Python 3. Django version 1.11 LTS is the only version officially supported by the Django project that still runs on Python 2 (officially).

  • The generated code for Django 1.11 is still identical, with a single exeception: The urls module, which uses a path function instead of url since Django 2.0.
  • The pylint-django plugin for Pylint now recognizes Django-specific small-caps names again. As env is not Django-specific we need to ignore that explicitly in the settings.
  • pep8 is now called pycodestyle (on request of Guido van Rossum in 2016), and unfortunately version 2.4 is incompatible with the latest flake8 but nonetheless gets installed for some reason. We need to specify that in the tox.ini of the generator.

@bittner bittner force-pushed the feature/upgrade-django-skeleton branch from 1d03394 to 175b5cb Compare July 8, 2018 08:35
@bittner
Copy link
Member Author

bittner commented Jul 8, 2018

Failing tests and infrastructure issues are related to #29 and will be fixed there.

@bittner bittner merged commit dc99cb6 into master Jul 8, 2018
@bittner bittner deleted the feature/upgrade-django-skeleton branch July 8, 2018 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant