1. If a user with administrative privileges uses the "Pending Apps" menu on the front page to "decline" an app, does the jar file gets deleted? Also, should it be deleted?
=> Yes, When the app is declined from the "Front (UI) Pending Apps Menu" the Jar gets deleted from the S3 Bucket.
2. Maybe we should not try to support the use case of an admin user using the Admin panel to delete a pending App. The "Admin" panel is designed to provide an interface to the database only. Asking it to also "know" about uploaded files may be asking too much.
=> By Default, Admin can delete an App or App Pending or any other Database entry from the Django Admin Panel (Feature provided by Django)
When the Admin tries to delete the App from Admin Panel (by Mistake or by Purpose), Currently the Jar is not getting removed from the S3 Bucket, Just increasing the manual effort by the S3 Admin to Purge the unnecessary Files
So to avoid that, with this update, when an Admin Deletes the App from the Admin Panel, The Jar File will be deleted automatically (Done using "post_delete" signal operator by Django), which means the Admin will not be having any extra effort what-so-ever to delete the jar file
The pending app jars are getting deleted from S3 when an admin user deletes it.