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

remove circular imports in siarnaq #928

Open
lowtorola opened this issue Jan 25, 2025 · 0 comments
Open

remove circular imports in siarnaq #928

lowtorola opened this issue Jan 25, 2025 · 0 comments
Labels
module: backend Related to the Siarnaq backend module priority: p3 low type: refactor Codebase refactors or structure changes

Comments

@lowtorola
Copy link
Contributor

I made an oopsie, turns out this is how you're supposed to do model imports in django:

apps.get_model("teams", "Team").objects.autoscrim(episode=self, best_of=best_of)

so this should be fixed wherever its not like this 😄

@lowtorola lowtorola added module: backend Related to the Siarnaq backend module priority: p3 low type: refactor Codebase refactors or structure changes labels Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: backend Related to the Siarnaq backend module priority: p3 low type: refactor Codebase refactors or structure changes
Projects
None yet
Development

No branches or pull requests

1 participant