-
Notifications
You must be signed in to change notification settings - Fork 286
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
Fixed #290 -- Importing from django.core.urlresolvers is deprecated in favor of django.urls #291
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this. Just a couple small style corrections and we can get this merged.
@@ -1,8 +1,11 @@ | |||
from django.core.urlresolvers import reverse | |||
from django.contrib.auth import authenticate, login, logout, get_user_model |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We like to keep the *.contrib
imports in their own section of imports after the other django imports.
@@ -1,8 +1,11 @@ | |||
from django.core.urlresolvers import reverse | |||
from django.contrib.auth import get_user_model |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep this in a contrib
section of imports after the django imports, please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
…re.urlresolvers is deprecated in favor of django.urls
@paltman Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Thanks!
2 similar comments
Changes Unknown when pulling ede4af4 on felixxm:issue-290 into ** on pinax:master**. |
3 similar comments
Changes Unknown when pulling ede4af4 on felixxm:issue-290 into ** on pinax:master**. |
Changes Unknown when pulling ede4af4 on felixxm:issue-290 into ** on pinax:master**. |
Changes Unknown when pulling ede4af4 on felixxm:issue-290 into ** on pinax:master**. |
RemovedInDjango20Warning: Importing from django.core.urlresolvers is deprecated in favor of django.urls