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

success #813

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

success #813

wants to merge 3 commits into from

Conversation

Olevsky-Ivan
Copy link

image

@Olevsky-Ivan
Copy link
Author

image

accounts/urls.py Outdated
Comment on lines 1 to 2
from django.urls import path, include
from accounts.views import login, logout_view
Copy link

Choose a reason for hiding this comment

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

split imports by blank line according to pep8

taxi/views.py Outdated
Comment on lines 11 to 14
num_drivers = Driver.objects.count()
num_cars = Car.objects.count()
num_manufacturers = Manufacturer.objects.count()

num_visits = request.session.get("visits", 1)
Copy link

Choose a reason for hiding this comment

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

you can move all this vars right to the context dict

@Olevsky-Ivan Olevsky-Ivan requested a review from LLkaia September 26, 2024 14:12
accounts/urls.py Outdated
Comment on lines 1 to 2
from django.urls import path, include
from accounts.views import login, logout_view
Copy link

Choose a reason for hiding this comment

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

split imports by blank line according to pep8

@Olevsky-Ivan Olevsky-Ivan requested a review from LLkaia September 26, 2024 14:53
Copy link

@LLkaia LLkaia left a comment

Choose a reason for hiding this comment

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

LGTM

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