diff --git a/serviceCRM/tables.py b/serviceCRM/tables.py index d0b1e28..36b557a 100644 --- a/serviceCRM/tables.py +++ b/serviceCRM/tables.py @@ -4,4 +4,4 @@ from .models import Insert class InsertTable(tables.Table): class Meta: model = Insert - template_name="base.html" \ No newline at end of file + template_name="serviceCRM/list.html" \ No newline at end of file diff --git a/serviceCRM/templates/base.html b/serviceCRM/templates/base.html index 2ccd992..b512db9 100644 --- a/serviceCRM/templates/base.html +++ b/serviceCRM/templates/base.html @@ -16,7 +16,7 @@
-

Django People

+

Service CRM


{% block content %} {% endblock %} diff --git a/serviceCRM/templates/serviceCRM/list.html b/serviceCRM/templates/serviceCRM/list.html index 1530944..8d930ee 100644 --- a/serviceCRM/templates/serviceCRM/list.html +++ b/serviceCRM/templates/serviceCRM/list.html @@ -1,6 +1,7 @@ {% extends 'base.html' %} {% load render_table from django_tables2 %} {% block content %} + {% render_table object_list %} {% endblock%} \ No newline at end of file