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

middleware.py: Django 1.10 fix #2

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

funkotron
Copy link

No description provided.

@@ -2,6 +2,11 @@
from online_status.conf import online_status_settings as config
from online_status.status import refresh_user, refresh_users_list, OnlineStatus

try:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change can't fix anything, because MiddlewareMixin is not used.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes thanks I have added it now

@lampslave
Copy link
Contributor

Please add 1.10 into tox.ini and travis.yml to test your changes.

Swap legacy render_to_response with render
Fix order of render args
Missing request arg
Missing comma
@funkotron
Copy link
Author

Added tests and fixed a render shortcut issue

@lampslave
Copy link
Contributor

Could you please squash last commits?

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.

2 participants