old_contents: import os
  import tmdbsimple
  
  tmdbsimple.API_KEY = os.environ['MM2_TMDB_API_KEY']
  
new_contents: import os
  import tmdbsimple
  from django.conf import settings
  
  tmdbsimple.API_KEY = os.environ['MM2_TMDB_API_KEY'] or settings.MM2_TMDB_API_KEY
  
subject: Load API_KEY from django settings.py file as an alternative