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

Suppression de la suppression logique des médias #538

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

amandine-sahl
Copy link
Contributor

No description provided.

@amandine-sahl amandine-sahl force-pushed the feat/delete_media branch 2 times, most recently from 58864c0 to c1f99cf Compare August 9, 2024 11:07
@amandine-sahl amandine-sahl added this to the V2 milestone Aug 9, 2024
WHERE NOT NULLIF(chemin , '') IS NULL AND supprime = TRUE;"""
)

media_path = Path(current_app.config["MEDIA_FOLDER"], "taxhub").absolute()
Copy link
Member

Choose a reason for hiding this comment

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

si les gens passe la migration avant d'avoir changer le paramètre UPLOAD_FOLDER en MEDIA_FOLDER ça va pas marcher ?
Et le /taxhub ne marche pas dans le contexte de taxhub standalone ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Je pense que c'est bon
Pour MEDIA_FOLDER c'est géré par défaut avec le schema toml.
Pour /taxhub même dans standalone le chemin est MEDIA_FOLDER/taxhub

@amandine-sahl amandine-sahl merged commit bbed1b4 into develop Aug 28, 2024
4 checks passed
@amandine-sahl amandine-sahl deleted the feat/delete_media branch August 28, 2024 10:33
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.

2 participants