mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-26 19:59:56 +00:00
Migrate albums and pictures to their own tables
This commit is contained in:
@@ -3,13 +3,7 @@ from model_bakery.recipe import Recipe
|
||||
|
||||
from sas.models import Picture
|
||||
|
||||
picture_recipe = Recipe(
|
||||
Picture,
|
||||
is_in_sas=True,
|
||||
is_folder=False,
|
||||
is_moderated=True,
|
||||
name=seq("Picture "),
|
||||
)
|
||||
picture_recipe = Recipe(Picture, is_moderated=True, name=seq("Picture "))
|
||||
"""A SAS Picture fixture.
|
||||
|
||||
Warnings:
|
||||
|
Reference in New Issue
Block a user