Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to delete a view that hasn't a thumbnail uploaded #128

Merged
merged 3 commits into from
Oct 28, 2021

Conversation

fdelcampo
Copy link
Contributor

Only remove the file thumbnail, when it's defined

…. In other cases serializer folder of media with the name of file
Copy link
Contributor

@sebastian-aranda sebastian-aranda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @fdelcampo, thanks! I left two minor comments, the rest looks great

manager/ui_framework/serializers.py Show resolved Hide resolved
@@ -76,10 +76,9 @@ class View(BaseModel):
data = JSONField(null=True, blank=True)
"""The data that constitutes the View, stored as a JSON"""

""" default="thumbnails/default.png", """
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line should be removed

@fdelcampo fdelcampo merged commit 776a0e1 into develop Oct 28, 2021
@sebastian-aranda sebastian-aranda deleted the tickets/LOVE-71 branch December 13, 2021 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants