This commit is contained in:
ferdzo
2023-04-18 16:00:28 +02:00
parent 06a3c54028
commit 05b545965d
3 changed files with 3 additions and 2 deletions

View File

@@ -4,4 +4,4 @@ from .models import Insert
class InsertTable(tables.Table):
class Meta:
model = Insert
template_name="base.html"
template_name="serviceCRM/list.html"

View File

@@ -16,7 +16,7 @@
<div class="container">
<div class="row justify-content-center">
<div class="col-8">
<h1 class="mt-2">Django People</h1>
<h1 class="mt-2">Service CRM</h1>
<hr class="mt-0 mb-4">
{% block content %}
{% endblock %}

View File

@@ -1,6 +1,7 @@
{% extends 'base.html' %}
{% load render_table from django_tables2 %}
{% block content %}
{% render_table object_list %}
{% endblock%}