possibly fixed sub path hosting issues

This commit is contained in:
vabene1111
2021-10-29 11:29:55 +02:00
parent 6c8843ca74
commit 6949e17a33
15 changed files with 36 additions and 6 deletions

View File

@ -38,6 +38,8 @@ class ExtendedRecipeMixin(serializers.ModelSerializer):
return fields
except AttributeError:
pass
except KeyError:
pass
del fields['image']
del fields['numrecipe']
return fields