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

Django2.2 #1228

Merged
merged 47 commits into from
May 17, 2019
Merged

Django2.2 #1228

merged 47 commits into from
May 17, 2019

Conversation

WojtekReu
Copy link
Contributor

No description provided.

…nstead of Statment. TypeError: argument of type 'Statement' is not iterable
This reverts commit 704d1f1.
@rafalp
Copy link
Owner

rafalp commented May 15, 2019

Zrzut ekranu 2019-05-15 o 14 42 19

😱

@@ -39,7 +39,7 @@ def test_empty_request(self):
def test_invalid_data(self):
"""invalid request data errors with code 400"""
response = self.client.post(
self.api_link, "false", content_type="application/json"
self.api_link, {}, content_type="application/json"
Copy link
Owner

Choose a reason for hiding this comment

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

This test was explicitly checking if non-dict data is handled by rest framework.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

venv/misago/lib/python3.6/site-packages/django/forms/widgets.py:258:

  return data.get(name)

E AttributeError: 'bool' object has no attribute 'get'

@@ -56,3 +56,15 @@
}

TEST_NAME = "travis_ci_test"

AUTH_PASSWORD_VALIDATORS = [
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
AUTH_PASSWORD_VALIDATORS = [
# Simplify password validation to ease writing test assertions
AUTH_PASSWORD_VALIDATORS = [

Copy link
Owner

Choose a reason for hiding this comment

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

Can you move this setting near the PASSWORD_HASHERS?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@rafalp rafalp merged commit 51d6c91 into rafalp:master May 17, 2019
@rafalp rafalp added this to the 0.20.0 milestone May 18, 2019
@rafalp rafalp added area: backend This issue involves Python, Django or dependency (eg. database) enhancement Improvement to existing feature or dev experience labels May 18, 2019
@rafalp rafalp mentioned this pull request May 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend This issue involves Python, Django or dependency (eg. database) enhancement Improvement to existing feature or dev experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants