{"id":18350,"date":"2022-03-24T13:46:38","date_gmt":"2022-03-24T10:46:38","guid":{"rendered":"https:\/\/mob25.com\/?p=18350"},"modified":"2023-05-09T21:48:12","modified_gmt":"2023-05-09T18:48:12","slug":"ssylki-namespase-i-name-v-shablonah-django","status":"publish","type":"post","link":"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/","title":{"rendered":"\u0421\u0441\u044b\u043b\u043a\u0438, namespa\u0441e \u0438 name \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 Django"},"content":{"rendered":"\n<p>\u0428\u0430\u0431\u043b\u043e\u043d Django \u2014 \u044d\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u0439 HTML, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0442\u0435\u0433\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u0430. \u0412 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 HTML-\u043a\u043e\u0434, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0441\u0441\u044b\u043b\u043a\u0438:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;a class=\"navbar-brand\" href=\"ice_cream\/\"&gt;\n  \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0441\u043e\u0440\u0442\u043e\u0432 \u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043e\u0433\u043e\n&lt;\/a&gt; <\/code><\/pre>\n\n\n\n<p>\u041d\u043e \u0435\u0441\u043b\u0438 \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0441\u043a\u043e\u0440\u043e \u043a\u043e\u0434 \u0441\u0442\u0430\u043d\u0435\u0442 \u043d\u0435\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u043c: \u0435\u0441\u043b\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0443\u0442\u0438 \u0432&nbsp;<em>urls.py,<\/em>&nbsp;\u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043c\u0435\u043d\u044f\u0442\u044c \u0432\u0441\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445. \u042d\u0442\u043e \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e \u0438 \u043d\u0430\u0440\u0443\u0448\u0430\u0435\u0442 \u043f\u0440\u0438\u043d\u0446\u0438\u043f DRY.\u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u0430&nbsp;<code>name<\/code>&nbsp;\u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e&nbsp;<code>path()<\/code>&nbsp;\u0432 \u0441\u043f\u0438\u0441\u043a\u0435&nbsp;<code>urlpatterns<\/code>. \u0418 \u0435\u0441\u043b\u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c name, \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0442\u043e\u0440 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0441\u044f \u043a \u043d\u0443\u0436\u043d\u043e\u043c\u0443 path(), \u0432\u043e\u0437\u044c\u043c\u0451\u0442 \u0430\u0434\u0440\u0435\u0441 \u0441\u0441\u044b\u043b\u043a\u0438 \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u043d\u0435\u0433\u043e \u0438 \u043f\u0440\u0438 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0435 \u0432\u0441\u0442\u0430\u0432\u0438\u0442 \u044d\u0442\u043e\u0442 \u0430\u0434\u0440\u0435\u0441 \u0432 HTML.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_87 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\"><\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/#%D0%98%D0%BC%D1%8F_name_%D0%B2_%D1%81%D1%81%D1%8B%D0%BB%D0%BA%D0%B0%D1%85\" >\u0418\u043c\u044f name \u0432 \u0441\u0441\u044b\u043b\u043a\u0430\u0445<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/#%D0%9F%D1%80%D0%BE%D1%81%D1%82%D1%80%D0%B0%D0%BD%D1%81%D1%82%D0%B2%D0%BE_%D0%B8%D0%BC%D1%91%D0%BD_namespace\" >\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d&nbsp;namespace<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/#%D0%9F%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5_%D0%B2_%D0%BF%D1%83%D1%82%D1%8F%D1%85\" >\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432 \u043f\u0443\u0442\u044f\u0445<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%D0%98%D0%BC%D1%8F_name_%D0%B2_%D1%81%D1%81%D1%8B%D0%BB%D0%BA%D0%B0%D1%85\"><\/span>\u0418\u043c\u044f name \u0432 \u0441\u0441\u044b\u043b\u043a\u0430\u0445<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0434\u043b\u044f&nbsp;<code>path()<\/code>&nbsp;\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440&nbsp;<code>name<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code><em># anfisa\/ice_cream\/urls.py<\/em>\n\nurlpatterns = [\n    path('ice_cream\/', views.ice_cream_list, name='ice_cream_list'),\n] <\/code><\/pre>\n\n\n\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0430\u0434\u0440\u0435\u0441\u0430 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u044f&nbsp;<code>ice_cream_list<\/code>, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044f \u0435\u0433\u043e \u0432 \u0442\u0435\u0433\u0430\u0445 \u0430\u0434\u0440\u0435\u0441\u043e\u0432&nbsp;<code>{% url %}<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>{% comment %}\n\u0412 HTML-\u0442\u0435\u0433 &lt;a&gt; \u0432 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 href \u0432\u043c\u0435\u0441\u0442\u043e \u0430\u0434\u0440\u0435\u0441\u0430 \u0441\u0441\u044b\u043b\u043a\u0438 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u0435\u0433 {% url %}\n\u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c name \u043d\u0443\u0436\u043d\u043e\u0433\u043e path() \n{% endcomment %}\n&lt;a class=\"navbar-brand\" href=\"{% url 'ice_cream_list' %}\"&gt;\n  \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0441\u043e\u0440\u0442\u043e\u0432 \u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043e\u0433\u043e\n&lt;\/a&gt; <\/code><\/pre>\n\n\n\n<p>\u041f\u0440\u0438 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0435 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0441\u0441\u044b\u043b\u043a\u0430 \u0438\u0437&nbsp;<code>path()<\/code>&nbsp;c&nbsp;<code>name='ice_cream_list'<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;a class=\"navbar-brand\" href=\"ice_cream\/\"&gt;\n  \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0441\u043e\u0440\u0442\u043e\u0432 \u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043e\u0433\u043e\n&lt;\/a&gt; <\/code><\/pre>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u043f\u043e \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u0432 path() \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439\u2026<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code><em># anfisa\/ice_cream\/urls.py<\/em>\n\nurlpatterns = [\n    path('new_ice_cream\/', views.ice_cream_list, name='ice_cream_list'),\n] <\/code><\/pre>\n\n\n\n<p>\u2026\u0442\u043e \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 \u043d\u0438\u0447\u0435\u0433\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f: \u0430\u0434\u0440\u0435\u0441 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u0434\u0442\u044f\u043d\u0435\u0442\u0441\u044f \u0438\u0437 \u043d\u0443\u0436\u043d\u043e\u0433\u043e&nbsp;<code>path()<\/code>, \u0438 \u043f\u0440\u0438 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0435 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u043e\u0432\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;a class=\"navbar-brand\" href=\"new_ice_cream\/\"&gt;\n  \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0441\u043e\u0440\u0442\u043e\u0432 \u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043e\u0433\u043e\n&lt;\/a&gt; <\/code><\/pre>\n\n\n\n<p>\u0427\u0443\u0434\u043e \u0447\u0443\u0434\u043d\u043e\u0435: \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442! \u0423\u0437\u043d\u0430\u0442\u044c \u0435\u0449\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u00a0<code>name<\/code>\u00a0\u043c\u043e\u0436\u043d\u043e\u00a0<a href=\"https:\/\/docs.djangoproject.com\/en\/3.0\/ref\/urls\/#django.urls.path\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">\u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%D0%9F%D1%80%D0%BE%D1%81%D1%82%D1%80%D0%B0%D0%BD%D1%81%D1%82%D0%B2%D0%BE_%D0%B8%D0%BC%D1%91%D0%BD_namespace\"><\/span>\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d&nbsp;<strong>namespace<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u041f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043d\u043e\u0432\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043a Django-\u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u0438\u0445&nbsp;<em>urls.py<\/em>&nbsp;\u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e&nbsp;<code>include<\/code>&nbsp;\u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442\u0441\u044f \u0432 \u0433\u043e\u043b\u043e\u0432\u043d\u043e\u0439&nbsp;<em>urls.py<\/em>&nbsp;\u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u041d\u043e \u0435\u0441\u043b\u0438 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u0431\u0443\u0434\u0443\u0442&nbsp;<code>path()<\/code>&nbsp;\u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c\u0438&nbsp;<code>name<\/code>, \u0442\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u043f\u043e \u0442\u0430\u043a\u043e\u043c\u0443 \u00ab\u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0449\u0435\u043c\u0443\u0441\u044f\u00bb name \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f&nbsp;<code>path()<\/code>&nbsp;\u0438\u0437 \u0442\u043e\u0433\u043e&nbsp;<em>urls.py<\/em>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u0433\u043e\u043b\u043e\u0432\u043d\u043e\u043c&nbsp;<code>urlpatterns<\/code>&nbsp;\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d \u0431\u043b\u0438\u0436\u0435 \u043a \u043d\u0430\u0447\u0430\u043b\u0443 \u0441\u043f\u0438\u0441\u043a\u0430.\u0418\u0437\u0431\u0435\u0433\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0445 \u043a\u043e\u043b\u043b\u0438\u0437\u0438\u0439 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440&nbsp;<strong>namespace<\/strong>&nbsp;(\u0430\u043d\u0433\u043b. \u00ab\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d\u00bb). \u0415\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442 \u0442\u0440\u0435\u0442\u044c\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u043f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438&nbsp;<em>urls.py<\/em>&nbsp;\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437&nbsp;<code>include<\/code>. \u041e\u0431\u044b\u0447\u043d\u043e \u0434\u043b\u044f&nbsp;<strong>namespace<\/strong>&nbsp;\u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0438\u043c\u044f, \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u0435 \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.\u0412\u043e\u0442 \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432 \u043a\u043e\u0434\u0435:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code><em># anfisa\/urls.py<\/em>\nurlpatterns = [\n   <em># \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a \u043f\u0443\u0442\u044f\u043c \u0438\u0437 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f ice_cream \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d ice_cream<\/em>\n    path('', include('ice_cream.urls', namespace='ice_cream')),\n] <\/code><\/pre>\n\n\n\n<p>\u0412 urls.py \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f&nbsp;<code>app_name<\/code>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0442\u043e\u0436\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f namespace \u0434\u043b\u044f \u043f\u0443\u0442\u0435\u0439 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code><em># anfisa\/ice_cream\/urls.py<\/em>\n<em># \u042d\u0442\u0430 \u0441\u0442\u0440\u043e\u0447\u043a\u0430 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430. <\/em>\n<em># \u0411\u0435\u0437 \u043d\u0435\u0451 namespace \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442:<\/em>\n<em># namespace \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d \u043f\u0440\u0438 include \u0438 \u0442\u0443\u0442, \u0432 app_name<\/em>\napp_name = 'ice_cream'\n\nurlpatterns = [\n    path('ice_cream\/', views.ice_cream_list, name='ice_cream_list'),\n] <\/code><\/pre>\n\n\n\n<p>T\u0435\u043f\u0435\u0440\u044c \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043a \u0441\u0441\u044b\u043b\u043a\u0435 \u0442\u0430\u043a:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;a class=\"navbar-brand\" href=\"{% url 'ice_cream:ice_cream_list' %}\"&gt;\n  \u0410\u043d\u0444\u0438\u0441\u0430 \u0434\u043b\u044f \u0434\u0440\u0443\u0437\u0435\u0439\n&lt;\/a&gt; <\/code><\/pre>\n\n\n\n<p>\u041d\u0430 \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0442\u0430\u043a: \u00ab\u0438\u0437 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438\u043c\u0451\u043d\u00a0<code>namespace='ice_cream'<\/code>\u00a0\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0438\u0437\u00a0<code>path()<\/code>\u00a0\u0441\u00a0<code>name='ice_cream_list'<\/code>\u00bb. \u0411\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442:\u00a0<code>namespace<\/code>\u00a0\u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e \u0443\u043a\u0430\u0436\u0435\u0442, \u043a \u043a\u0430\u043a\u043e\u043c\u0443 \u0438\u043c\u0435\u043d\u043d\u043e\u00a0<code>path()<\/code>\u00a0\u043d\u0443\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438\u00a0<code>name<\/code>\u00a0\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0442\u0441\u044f.\u041e namespace \u0435\u0441\u0442\u044c \u0441\u043c\u044b\u0441\u043b \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0438\u00a0<a href=\"https:\/\/docs.djangoproject.com\/en\/3.0\/topics\/http\/urls\/#reversing-namespaced-urls\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">\u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>, \u0442\u0430\u043c \u0442\u043e\u0436\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%D0%9F%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5_%D0%B2_%D0%BF%D1%83%D1%82%D1%8F%D1%85\"><\/span>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432 \u043f\u0443\u0442\u044f\u0445<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u043c\u043e\u0436\u043d\u043e \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0441\u0441\u044b\u043b\u043a\u0438 \u0441 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 \u0432 \u043f\u0443\u0442\u044f\u0445. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u00ab\u0410\u043d\u0444\u0438\u0441\u0430 \u0434\u043b\u044f \u0434\u0440\u0443\u0437\u0435\u0439\u00bb \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043e\u043c \u0441\u0434\u0435\u043b\u0430\u043d\u0430 \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;a href=\"{% url 'ice_cream:ice_cream_detail' ice_cream.pk %}\"&gt;\n  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f\n&lt;\/a&gt; <\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>ice_cream \u2014 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d,&nbsp;<code>namespace<\/code>.<\/li><li>ice_cream_detail \u2014&nbsp;<code>name<\/code>&nbsp;\u0438\u0437&nbsp;<code>path()<\/code>.<\/li><li>ice_cream.pk \u2014 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044d\u0442\u043e&nbsp;<code>pk<\/code>&nbsp;(primary key) \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u043e\u0433\u043e \u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e. \u0411\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u043e view-\u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0428\u0430\u0431\u043b\u043e\u043d Django \u2014 \u044d\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u0439 HTML, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0442\u0435\u0433\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u0430. \u0412 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 HTML-\u043a\u043e\u0434, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0441\u0441\u044b\u043b\u043a\u0438: &lt;a class=&#187;navbar-brand&#187; href=&#187;ice_cream\/&#187;&gt; \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0441\u043e\u0440\u0442\u043e\u0432 \u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043e\u0433\u043e &lt;\/a&gt; \u041d\u043e \u0435\u0441\u043b\u0438 \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0441\u043a\u043e\u0440\u043e \u043a\u043e\u0434 \u0441\u0442\u0430\u043d\u0435\u0442 \u043d\u0435\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u043c: \u0435\u0441\u043b\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0443\u0442\u0438 \u0432&nbsp;urls.py,&nbsp;\u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043c\u0435\u043d\u044f\u0442\u044c \u0432\u0441\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[187],"tags":[],"class_list":["post-18350","post","type-post","status-publish","format-standard","","category-uroki"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0421\u0441\u044b\u043b\u043a\u0438, namespa\u0441e \u0438 name \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 Django<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0421\u0441\u044b\u043b\u043a\u0438, namespa\u0441e \u0438 name \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 Django\" \/>\n<meta property=\"og:description\" content=\"\u0428\u0430\u0431\u043b\u043e\u043d Django \u2014 \u044d\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u0439 HTML, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0442\u0435\u0433\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u0430. \u0412 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 HTML-\u043a\u043e\u0434, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0441\u0441\u044b\u043b\u043a\u0438: &lt;a class=&quot;navbar-brand&quot; href=&quot;ice_cream\/&quot;&gt; \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0441\u043e\u0440\u0442\u043e\u0432 \u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043e\u0433\u043e &lt;\/a&gt; \u041d\u043e \u0435\u0441\u043b\u0438 \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0441\u043a\u043e\u0440\u043e \u043a\u043e\u0434 \u0441\u0442\u0430\u043d\u0435\u0442 \u043d\u0435\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u043c: \u0435\u0441\u043b\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0443\u0442\u0438 \u0432&nbsp;urls.py,&nbsp;\u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043c\u0435\u043d\u044f\u0442\u044c \u0432\u0441\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-24T10:46:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-09T18:48:12+00:00\" \/>\n<meta name=\"author\" content=\"violet\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/\",\"url\":\"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/\",\"name\":\"\u0421\u0441\u044b\u043b\u043a\u0438, namespa\u0441e \u0438 name \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 Django\",\"isPartOf\":{\"@id\":\"https:\/\/mob25.com\/blog\/#website\"},\"datePublished\":\"2022-03-24T10:46:38+00:00\",\"dateModified\":\"2023-05-09T18:48:12+00:00\",\"author\":{\"@id\":\"https:\/\/mob25.com\/blog\/#\/schema\/person\/493391ea0717532d228de3cda6d7cf45\"},\"breadcrumb\":{\"@id\":\"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/mob25.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0421\u0441\u044b\u043b\u043a\u0438, namespa\u0441e \u0438 name \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 Django\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mob25.com\/blog\/#website\",\"url\":\"https:\/\/mob25.com\/blog\/\",\"name\":\"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mob25.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mob25.com\/blog\/#\/schema\/person\/493391ea0717532d228de3cda6d7cf45\",\"name\":\"violet\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/mob25.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d4571412769d757e8ecacdf5967ea55865839b6d95042f5fc535566d9d3533d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d4571412769d757e8ecacdf5967ea55865839b6d95042f5fc535566d9d3533d0?s=96&d=mm&r=g\",\"caption\":\"violet\"},\"url\":\"https:\/\/mob25.com\/blog\/author\/nkl\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0421\u0441\u044b\u043b\u043a\u0438, namespa\u0441e \u0438 name \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 Django","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/","og_locale":"ru_RU","og_type":"article","og_title":"\u0421\u0441\u044b\u043b\u043a\u0438, namespa\u0441e \u0438 name \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 Django","og_description":"\u0428\u0430\u0431\u043b\u043e\u043d Django \u2014 \u044d\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u0439 HTML, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0442\u0435\u0433\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u0430. \u0412 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 HTML-\u043a\u043e\u0434, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0441\u0441\u044b\u043b\u043a\u0438: &lt;a class=\"navbar-brand\" href=\"ice_cream\/\"&gt; \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0441\u043e\u0440\u0442\u043e\u0432 \u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043e\u0433\u043e &lt;\/a&gt; \u041d\u043e \u0435\u0441\u043b\u0438 \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0441\u043a\u043e\u0440\u043e \u043a\u043e\u0434 \u0441\u0442\u0430\u043d\u0435\u0442 \u043d\u0435\u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u043c: \u0435\u0441\u043b\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0443\u0442\u0438 \u0432&nbsp;urls.py,&nbsp;\u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043c\u0435\u043d\u044f\u0442\u044c \u0432\u0441\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 [&hellip;]","og_url":"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/","og_site_name":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438","article_published_time":"2022-03-24T10:46:38+00:00","article_modified_time":"2023-05-09T18:48:12+00:00","author":"violet","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/","url":"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/","name":"\u0421\u0441\u044b\u043b\u043a\u0438, namespa\u0441e \u0438 name \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 Django","isPartOf":{"@id":"https:\/\/mob25.com\/blog\/#website"},"datePublished":"2022-03-24T10:46:38+00:00","dateModified":"2023-05-09T18:48:12+00:00","author":{"@id":"https:\/\/mob25.com\/blog\/#\/schema\/person\/493391ea0717532d228de3cda6d7cf45"},"breadcrumb":{"@id":"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mob25.com\/blog\/ssylki-namespase-i-name-v-shablonah-django\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/mob25.com\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0421\u0441\u044b\u043b\u043a\u0438, namespa\u0441e \u0438 name \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 Django"}]},{"@type":"WebSite","@id":"https:\/\/mob25.com\/blog\/#website","url":"https:\/\/mob25.com\/blog\/","name":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mob25.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Person","@id":"https:\/\/mob25.com\/blog\/#\/schema\/person\/493391ea0717532d228de3cda6d7cf45","name":"violet","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/mob25.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d4571412769d757e8ecacdf5967ea55865839b6d95042f5fc535566d9d3533d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d4571412769d757e8ecacdf5967ea55865839b6d95042f5fc535566d9d3533d0?s=96&d=mm&r=g","caption":"violet"},"url":"https:\/\/mob25.com\/blog\/author\/nkl\/"}]}},"_links":{"self":[{"href":"https:\/\/mob25.com\/blog\/wp-json\/wp\/v2\/posts\/18350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mob25.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mob25.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mob25.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mob25.com\/blog\/wp-json\/wp\/v2\/comments?post=18350"}],"version-history":[{"count":0,"href":"https:\/\/mob25.com\/blog\/wp-json\/wp\/v2\/posts\/18350\/revisions"}],"wp:attachment":[{"href":"https:\/\/mob25.com\/blog\/wp-json\/wp\/v2\/media?parent=18350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mob25.com\/blog\/wp-json\/wp\/v2\/categories?post=18350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mob25.com\/blog\/wp-json\/wp\/v2\/tags?post=18350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}