From d8f8b3646954c6335e0d2baf994dacd39059f8b4 Mon Sep 17 00:00:00 2001 From: pi3c Date: Wed, 11 Oct 2023 19:37:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproger/blog/urls.py | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/pyproger/blog/urls.py b/pyproger/blog/urls.py index d7a8ace..b7b8482 100644 --- a/pyproger/blog/urls.py +++ b/pyproger/blog/urls.py @@ -1,11 +1,23 @@ import locale import re -from flask import (abort, current_app, redirect, render_template, request, - session, url_for) +from flask import ( + abort, + current_app, + redirect, + render_template, + request, + session, + url_for, +) -from ..dbase.database import (get_all_posts_by_tag, get_page, - get_paginated_posts, get_post, get_tags) +from ..dbase.database import ( + get_all_posts_by_tag, + get_page, + get_paginated_posts, + get_post, + get_tags, +) from .blog import bp locale.setlocale(locale.LC_ALL, "")