admin: rename data-source template as it's for a single data source (#45796)

This commit is contained in:
Frédéric Péters 2020-08-10 09:54:55 +02:00 committed by Thomas NOEL
parent cdcc324f3c
commit 2f6b0e065f
2 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ class NamedDataSourcePage(Directory):
def _q_index(self):
html_top('datasources', title=self.datasource.name)
return template.QommonTemplateResponse(
templates=['wcs/backoffice/data-sources.html'],
templates=['wcs/backoffice/data-source.html'],
context={'view': self, 'datasource': self.datasource})
def usage_in_formdefs(self):