Skip to content

Commit

Permalink
проверка работы бд
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebraHr committed Sep 21, 2023
1 parent 8a09201 commit 3a46bb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/api/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class IngredientFilter(FilterSet):
"""Фильтрация ингридиентов"""
"""Фильтрация ингредиентов по названию."""

name = filters.CharFilter(
field_name='name',
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
image: postgres:13
env_file: .env
volumes:
- fg_data:/var/lib/postgresql/fg_data
- fg_data:/var/lib/postgresql/data
backend:
image: zebrahr/foodgram_backend
restart: always
Expand Down Expand Up @@ -40,4 +40,5 @@ services:
- media_fg:/app/media/
depends_on:
- backend
- frontend

0 comments on commit 3a46bb0

Please sign in to comment.