This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
volumes: | |
pg_data: | |
static: | |
media: | |
services: | |
db: | |
image: postgres:13.10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% load django_bootstrap5 %} | |
{% block title %} | |
Конкурс рецептов мороженого | |
{% endblock %} | |
{% block content %} | |
<div class="card col-4"> | |
{% with data=form.instance %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% block title %} | |
Подать заявку на конкурс | |
{% endblock %} | |
{% block content %} | |
<form action="{% url 'contest:accepted' %}" method="GET"> | |
<table> | |
<tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================= test session starts ============================= | |
platform win32 -- Python 3.9.10, pytest-7.1.3, pluggy-1.0.0 -- C:\Users\menik\Dev\django_sprint3\venv\Scripts\python.exe | |
django: settings: blogicum.settings (from ini) | |
rootdir: C:\Users\menik\Dev\django_sprint3, configfile: pytest.ini, testpaths: tests/ | |
plugins: Faker-12.0.1, django-4.5.2 | |
collecting ... collected 82 items | |
tests/test_category_page_views.py::test_category_page PASSED [ 1%] | |
tests/test_category_page_views.py::test_category_page_check_context_keys[title] PASSED [ 2%] | |
tests/test_category_page_views.py::test_category_page_check_context_keys[key1] PASSED [ 3%] |