-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
21 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
"""View for autogenerating thumbnail previews.""" | ||
|
||
from __future__ import annotations | ||
|
||
from ..models import Project | ||
from ..signals import project_data_change | ||
|
||
|
||
@project_data_change.connect | ||
def generate_thumbnail_image(project: Project) -> None: | ||
render_thumbnail_image(project=project) | ||
|
||
|
||
def render_thumbnail_image(project: Project) -> None: | ||
"""Render the thumbnail image and cache the file using a background task""" | ||
pass |
45 changes: 0 additions & 45 deletions
45
migrations/versions/2b9456f4e8fd_added_thumbnail_image_column_to_project_.py
This file was deleted.
Oops, something went wrong.