Archive Admin Guide
Purpose
Manage document archives and public files. Photo galleries are managed in Gallery › Albums and exam libraries are managed in Exam bank › Exam archives.
Document Collections
- Open Archive › Document collections.
- Create a collection with title and publication date. The publication date uses the shared calendar/time picker.
- Use the multi-upload field to upload one or many files (drag-and-drop when direct uploads are enabled; classic file picker otherwise). Uploaded files stay listed below the field until the form is saved, and can be removed individually; files already attached to the collection are managed in the inline table below.
- Save. Files are stored under
media/documents/<year>/<slug>/.
Public Files (S3 only)
When USE_S3=True, Public collections appear in admin. Manage them like document collections, but uploads go through PublicFileField so they are web-accessible without authentication.
Tips
- Use consistent naming and pub dates so archives stay orderly.
- Deleting a collection also deletes its directory inside
MEDIA_ROOT, so double-check before removing.
- Public browsing still uses the
/archive/... URL area even though photos and exams are managed by separate apps.