How to display model variables in Django template?

All kind time of day. Will get straight to the point - I can't see the variables from the model(created in admin) in the template. 3 day sitting with this time, reviewed a bunch of guides, including the documentation and for some reason nothing comes out.
view:
from django.shortcuts import render, get_object_or_404
from .models import Kitchen

def kuhni(request):
 return render(request,'kuhni/kuhni.html')
def direct_kuhni(request):
 return render(request,'kuhni/direct_kuhni.html')
def direct_name(request, id):
 direct_product = get_object_or_404(Kitchen
id=id)
 return render(request,'kuhni/unique_kuhni.html', {'direct_product' : direct_product})

models:
from django.db import models

class Kitchen(models.Model):
 nameKitchen = models.CharField(max_length=30, name='Name')
 top_facade = models.CharField(max_length=30, name='Upper fronts', null=True, blank=True)
#The rest below

 def get_absolute_url(self):
 return "/kuhni/direct_kuhni/%i/" % self.id

url of this app, there are no problems, the url is created correctly:
from django.urls import path
from . import views

mapping includes = [
 path ("views.kuhni, name='kuhni'),
 path('direct_kuhni/', views.direct_kuhni,name='direct_kuhni'),
 path('direct_kuhni/<int:id>/', views.direct_name),
]

And the template itself:
{% extends 'base/base.html' %}
{% load static %}

{% block title %} {{ nameKitchen }} {% endblock %}
{% block content %}
 <a>{{ nameKitchen }}</a>
 <p>{{ top_facade }}</p>
{% endblock %}


Tried many methods(mostly changed view).
Models no problem - it displays in admin as it should, and when you click on "view on site" opens a blank template(variables not shown).
Thank you all in advance!
April 19th 20 at 12:16
1 answer
April 19th 20 at 12:18
XS, th you looked there. {{ direct_product.nameKitchen }}
5e980a88b740a144477589.png
In the admin definitely saved, move on to the site click "View page"
5e980ad36b50a211337950.png
Blank page
5e980b205ea16763780225.png
Also while browsing the code shows that this place is empty
{% extends 'base/base.html' %}
{% load static %}

{% block title %} a {% endblock %}
{% block content %}

<p>{{ direct_product.nameKitchen }}</p>


{% endblock %}

The code I already tried - Titus_Kuvalis42 commented on April 19th 20 at 12:21
@Titus_Kuvalis42, may not be transferred or direct_product not the url, it is difficult to say, well, don't get so get_absolute_url, this anti-pattern - Norbert20 commented on April 19th 20 at 12:24
@Norbert20, can be advise another method? Would be grateful - Titus_Kuvalis42 commented on April 19th 20 at 12:27
@Titus_Kuvalis42, learn to debug, for example, put a print with direct_product in direct_name to check whether this function if the object is in the direct_product - Norbert20 commented on April 19th 20 at 12:30

Find more questions by tags Django