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

Создание фабрик на StaffMember и City #73

Closed
KonstantinRaikhert opened this issue Dec 19, 2023 · 0 comments · Fixed by #78
Closed

Создание фабрик на StaffMember и City #73

KonstantinRaikhert opened this issue Dec 19, 2023 · 0 comments · Fixed by #78
Assignees
Labels
enhancement New feature or request

Comments

@KonstantinRaikhert
Copy link
Member

Зачем?

Кажется валидировать данные еще будем нескоро, но делать функционал приложения надо. Подключим как помощника библиотеку factory boy
см. #66

Как нужно делать?

  • необходимо реализовать фабрики в соответствующей директории
  • Добавить в команду fill-db генерацию нескольких обьектов (пусть будет 10 с каждой модели)

Где?

adaptive_hockey_federation/main/factories.py
adaptive_hockey_federation/core/management/commands/fill-db.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants