Skip to content

Feat/hm 1 - #2

Open
Dmitriy-Klv wants to merge 3 commits into
samodurOFF:masterfrom
Dmitriy-Klv:feat/HM_1
Open

Feat/hm 1#2
Dmitriy-Klv wants to merge 3 commits into
samodurOFF:masterfrom
Dmitriy-Klv:feat/HM_1

Conversation

@Dmitriy-Klv

Copy link
Copy Markdown

No description provided.

@samodurOFF samodurOFF left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Отличная работа.

Comment thread HWs/DmitriyK/HM1/main.py
return "Hello world!"


@app.route("/user_name/<name>")

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лучше добавляйте / в конце маршрута. В этом случае Flask сам будет перенаправлять на нужный маршрут если слеша нет

Suggested change
@app.route("/user_name/<name>")
@app.route("/user_name/<name>/")

Comment thread .gitignore

@samodurOFF samodurOFF Apr 25, 2026

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Без этого файла можно было обойтись. Из-за него теперь конфликт

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Конфликт починил

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Больше не трогайте этот файл

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