Open jbmorgan opened 11 years ago
Getting movie information from TMDB needs to happen asynchronously, particularly because it involves downloading at least two large image files.
This will require a rew things:
Movie
tmdb/movie_for_tmdb_id
Getting movie information from TMDB needs to happen asynchronously, particularly because it involves downloading at least two large image files.
This will require a rew things:
Movie
model should have an enum or boolean to indicate its current status, specifically whether it is being updated.tmdb/movie_for_tmdb_id
needs to happen in a background task. I believe django-celery is the go-to tool for this.