-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
17.0 mig website event attendee signup #7
17.0 mig website event attendee signup #7
Conversation
Co-authored-By: Ivan Yelizariev <[email protected]> Co-authored-By: Artem Rafailov <[email protected]> Co-authored-By: Eugene Molotov <[email protected]> Co-authored-By: Victor Bykov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Изменения, где убираем параметр в super, и смену версии должны быть в рамках коммита pre-commit auto fixes, которые уже тут есть.
res = super().create(vals) | ||
res = super().create(vals) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Два раза будут создаваться записи, когда надо один. Не годится.
super().setUp() | ||
super().setUp() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Зачем тут два раза вызывать setUp?
091cc30
to
1954813
Compare
def create(self, vals): | ||
res = super().create(vals) | ||
res = super().create(vals) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Тут два раза создаем записи регистраций. Это неправильно.
def setUp(self): | ||
super().setUp() | ||
super().setUp() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Зачем тут два раза вызывать setUp?
d752e38
to
55a6589
Compare
No description provided.