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

Feature/reviews new endpoints #230

Merged
merged 3 commits into from
Dec 30, 2023
Merged

Conversation

earlinn
Copy link
Collaborator

@earlinn earlinn commented Dec 30, 2023

Перенесла utils.py (где функция generate_order_number) из папки good_food в папку core.
Создала эндпойнт для проверки, заказывал ли пользователь, делающий запрос (request.user), данный продукт когда-либо.
Создала эндпойнт для проверки, оценивал ли пользователь, делающий запрос (request.user), данный продукт.
Поменяла отображение автора отзыва в сериализаторе Review (раньше было только username пользователя, теперь id и username).
Обновила тесты с учетом внесенных изменений.

@juliana-str juliana-str merged commit 1d23751 into develop Dec 30, 2023
4 checks passed
@earlinn earlinn deleted the feature/reviews_new_endpoints branch December 30, 2023 08:35
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.

2 participants