Skip to content

Conversation

@KwikKill
Copy link
Member

@KwikKill KwikKill commented Jan 4, 2024

Small changes but still useful to test with empty DB.

@KwikKill KwikKill requested a review from Lymkwi January 4, 2024 23:05
@KwikKill KwikKill self-assigned this Jan 4, 2024
Copy link
Contributor

@Lymkwi Lymkwi left a comment

Choose a reason for hiding this comment

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

Only small concern, and I've got to run it once for tests. Otherwise, so far so good.

maxTeam=randint(1, 10),
logo=self.generate_logo(),
is_announced=randint(0, 100) < 50,
player_price_online=randint(0, 50),
Copy link
Contributor

Choose a reason for hiding this comment

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

prices are not int, they are Decimal. Are you sure the conversion is done when this is assigned?

Copy link
Member Author

Choose a reason for hiding this comment

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

It was in my testing but it could be better for testing to have Decimal, i will change it soon 👍

Copy link
Contributor

@Lymkwi Lymkwi left a comment

Choose a reason for hiding this comment

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

  • there was a comment about decimals
  • you should probably fix the generation of random stuff in the tournament name, apparently it's breaking length constraints at the moment?

@KwikKill
Copy link
Member Author

  • there was a comment about decimals
  • you should probably fix the generation of random stuff in the tournament name, apparently it's breaking length constraints at the moment?
  • No commits were added since last review, this will wait after the LAN. The change to decimal is planned and has not been forgotten.
  • The name constraint is not from this part of code. This was fixed in a0f468e but this branch was not rebased yet as this is not the priority.

@KwikKill KwikKill marked this pull request as draft October 4, 2024 20:38
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.

3 participants