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

Mazanie Message a Attachment #316

Closed
martinmacko47 opened this issue Oct 23, 2020 · 1 comment
Closed

Mazanie Message a Attachment #316

martinmacko47 opened this issue Oct 23, 2020 · 1 comment

Comments

@martinmacko47
Copy link
Owner

martinmacko47 commented Oct 23, 2020

Blocked by: #311

Zakazat hromadne mazanie Message a Attachment. Povolit iba jednotlive mazanie.

Povolene bude zmazat iba Message a Attachment, na ktore nie je odnikial ziaden FK, okrem z Attachment a Recepient. Ak bude admin chciet zmazat Message alebo Attachment, bude musiet najprv porusit FK nan. Aby zmazanim Message resp. Attachment nezmazal nieco, co nechceme.

Implementacia by sa nemala spoliehat na kod z "chcemvediet" apps, kedze app "mails" a "attachments" su univerzalne. Treba pouzit Django mechanizmus na zistenie, co by sa s danym Message slo zmazat, a pomolit to zmazat, iba ak tam nie je nic okrem Attachment a Recepient.

@martinmacko47 martinmacko47 added this to the 2020 milestone Oct 23, 2020
@martinmacko47 martinmacko47 changed the title Admin: Mazanie Message a Attachment Mazanie Message a Attachment Nov 4, 2020
@martinmacko47
Copy link
Owner Author

Scope tohto tasku sa presunul do #334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants