fix redirect to schemas page

This commit is contained in:
Cayo Puigdefabregas 2023-11-22 12:52:40 +01:00
parent 08693acb57
commit 6f29ce32fa
1 changed files with 1 additions and 1 deletions

View File

@ -812,7 +812,7 @@ class SchemasImportAddView(SchemasMix):
schema = self.create_schema(file_name)
if schema:
messages.success(self.request, _("The schema was added sucessfully"))
return redirect('idhub:admin_schemas_import')
return redirect('idhub:admin_schemas')
def create_schema(self, file_name):
data = self.open_file(file_name)