Skip to content

Conversation

@brunobord
Copy link
Contributor

Review

This PR is targeting release/2.1 in order to make a new hotfix release

  • Tests
  • CHANGELOG.rst Updated

@brunobord
Copy link
Contributor Author

FYI: this will lead to:

  • create a new hotfix release (2.1.2) that will be published on PyPI,
  • then we'll merge those commits in master,
  • any subsequent branches will have to be rebased from master in order to backport this patch for the 3.0.0 series.

Copy link
Contributor

@alexdashkov alexdashkov left a comment

Choose a reason for hiding this comment

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

LGTM, thank you

# hit, we don't use a get() method in queryset.
return self.field.accesses.all()[0]
qs = self.field.accesses.all()
if qs.exists():
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd like to run only one db request here.

if len(qs):

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fair enough. Adding it now.

@brunobord brunobord force-pushed the hotfix-disable-widgets branch from ac5cc52 to a9ff0c6 Compare August 29, 2018 14:24
@brunobord brunobord force-pushed the hotfix-disable-widgets branch from a9ff0c6 to fc850e1 Compare August 29, 2018 14:25
@brunobord brunobord merged commit 22e2d06 into release/2.1 Aug 29, 2018
@brunobord brunobord deleted the hotfix-disable-widgets branch August 29, 2018 14:31
@brunobord brunobord mentioned this pull request Aug 31, 2018
6 tasks
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.

4 participants