mirror of
https://github.com/kennethreitz/photos.kennethreitz.org.git
synced 2026-06-21 07:00:57 +00:00
c238187b21
Ingest: pipeline.py (EXIF extract → normalize → thumbnail → save), Celery task with retries, upload view with size validation. Views: tree (camera/lens browsing with counts), gallery (profiles, collections with visibility), groups (list, detail, members), search (multi-filter by camera/lens/focal/aperture/ISO). Settings: S3-compatible storage (Tigris/R2), Celery+Redis, console email backend, 50MB upload limit. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
10 lines
225 B
Python
10 lines
225 B
Python
import os
|
|
|
|
from celery import Celery
|
|
|
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'exiftree.settings')
|
|
|
|
app = Celery('exiftree')
|
|
app.config_from_object('django.conf:settings', namespace='CELERY')
|
|
app.autodiscover_tasks()
|