fix redirect to schemas page

This commit is contained in:
Cayo Puigdefabregas 2023-11-22 12:52:40 +01:00
parent 08693acb57
commit 6f29ce32fa

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)