-
Notifications
You must be signed in to change notification settings - Fork 8
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
Upgrades #64
Closed
Closed
Upgrades #64
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This will ease migration to Python 3.
Kipa is not ran as a script.
This removes rest of carriage returns from python and template files. Also removes trailing spaces which weren't removed in 54c1c73 because of carriage returns was not taken in account.
Also remove imports with *
__div__ doesn't exists in python 3.
To see more, read PEP 3120.
Using shorthand "__all__" is counted as explicit here. Remove unused inlineformset_factory and ModelForm. These fixes are due to deprecation in Django 1.6 and future removal in Django 1.8.
This fix is due to future change in functionality in Django 1.8.
Remove souht as Django 1.7 has built-in migrations.
In Django 1.10, session verification will be enabled regardless of whether or not SessionAuthenticationMiddleware is enabled. This is made to silence deprecation warning.
django.conf.urls.patterns is deprecated and will be removed in Django 2.0.
This set value tells to load templates from app's subdirectory named "templates"
This is due deprecation of context_instance argument for render_to_response. See https://docs.djangoproject.com/en/1.8/releases/1.8/#dictionary-and-context-instance-arguments-of-rendering-functions
Add needed context processors. Remove redeclaration of default template loaders.
on_delete will become a required argument in Django 2.0.
Error was: Cannot override the namespace for a dynamic module that provides a namespace.
Old-style middleware using settings.MIDDLEWARE_CLASSES is deprecated.
SessionAuthenticationMiddlewar was removed as planned in commit "Add django.contrib.auth.middleware.SessionAuthenticationMiddleware".
* Square brackets in character classes are escaped. * Raw string is used for regexes. * Square brackets not escaped when not a part of character class. * Match parenthesis with character class
Also ifnotequal tag with if and "!="
Django's default automatic primary key is changed from integer to 64 bit integer. Define that DEFAULT_AUTO_FIELD so that old database doesn't cause warnings on startup.
This is the default, but it is going to change in Django 5.0 to be enabled by default.
Add CSS class to make sure that formsets are not spread to multiple "lines".
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tässä on jo kasassa aika monta päivitystä. Näitä varmaan ryhmitellään jotenkin paremmin. Tämä PR on olemassa, jotta nähdään että testit toimii CI:ssäkin.