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

Django main #528

Merged
merged 3 commits into from
Nov 24, 2021
Merged

Django main #528

merged 3 commits into from
Nov 24, 2021

Conversation

hramezani
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Nov 24, 2021

Codecov Report

Merging #528 (13210c6) into master (c960a79) will not change coverage.
The diff coverage is 40.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #528   +/-   ##
=======================================
  Coverage   84.60%   84.60%           
=======================================
  Files          51       51           
  Lines        2059     2059           
=======================================
  Hits         1742     1742           
  Misses        317      317           
Impacted Files Coverage Δ
silk/request_filters.py 65.40% <0.00%> (ø)
silk/profiling/profiler.py 88.80% <50.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c960a79...13210c6. Read the comment docs.

Copy link
Member

@jezdez jezdez left a comment

Choose a reason for hiding this comment

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

Some minor things, other than that this is good. Thanks!

@@ -102,7 +102,7 @@ def __enter__(self):
'start_time': timezone.now(),
}
else:
Logger.warn('Cannot execute silk_profile as silk is not installed correctly.')
Logger.warning('Cannot execute silk_profile as silk is not installed correctly.')
Copy link
Member

Choose a reason for hiding this comment

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

Good catch! Could we rename the variable to logger, too?

@@ -1,7 +1,7 @@
from django.conf.urls import include, url
from django.urls import include, path
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
from django.urls import include, path
from django.urls import include, re_path


urlpatterns = [
url(
path(
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
path(
re_path(

Copy link
Member

@jezdez jezdez left a comment

Choose a reason for hiding this comment

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

Some minor things, other than that this is good. Thanks!

@hramezani
Copy link
Member Author

Thanks @jezdez for your review. I've addressed your comments.

@jezdez jezdez merged commit 2610f91 into jazzband:master Nov 24, 2021
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