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

Реализовать генерацию тестовых администраторов через FactoryBoy #29

Closed
KonstantinRaikhert opened this issue May 6, 2024 · 0 comments · Fixed by #34
Assignees
Labels
enhancement New feature or request

Comments

@KonstantinRaikhert
Copy link
Member

Зачем?

Есть неплохая библиотека для генерация тестовых данных - FactoryBoy
На ёё основе сделать возможнось генерации 10 администраторов с простым единым паролем

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

  • Изучить примеры
  • реализовать в папке factories в приложении
  • добавить реализацию кастомной команды Django - пример
  • добавить в Makefile генерацию из 10 администраторов

Где?

src/admin_user

@KonstantinRaikhert KonstantinRaikhert added the enhancement New feature or request label May 6, 2024
@BIXBER BIXBER linked a pull request May 7, 2024 that will close this issue
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