Skip to content

Conversation

@Galyopa
Copy link
Owner

@Galyopa Galyopa commented Jun 18, 2020

No description provided.

@Galyopa Galyopa requested review from dimigor and klimach June 18, 2020 16:43
{% endif %}
</ul>
{% endif %}
{% endblock %} No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

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

endline

def get_queryset(self):
if self.kwargs:
return Dealer.objects.all().filter(user_ptr_id=int(self.kwargs.get('pk')))
else:
Copy link
Collaborator

Choose a reason for hiding this comment

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

you do not need this else

@@ -1,5 +1,6 @@
from django.db import models
from django.contrib.auth.models import User
from django.utils.translation import gettext_lazy as _
Copy link
Collaborator

Choose a reason for hiding this comment

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

try to not use as _
it may be confused

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