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

Testing Django 2.0 #82

Merged
merged 1 commit into from
Jul 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion promgen/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __call__(self, request):
prefetch_related_objects([request.site], 'rule_set')

# Get our logged in user to use with our audit logging plugin
if request.user.is_authenticated():
if request.user.is_authenticated:
_user.value = request.user

response = self.get_response(request)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
'atomicwrites',
'celery[redis]==4.1.1',
'dj-database-url',
'Django >= 1.11, < 1.12',
'Django >= 2.0, < 2.1',
'envdir',
'prometheus-client',
'python-dateutil',
Expand All @@ -53,7 +53,7 @@
'docs': [
'Sphinx',
'sphinxcontrib-httpdomain',
]
],
},
entry_points={
'console_scripts': [
Expand Down