title: How to fix Cannot Serialize error while setting up Django 1.9 application
body: <p>I'm setting up a Django 1.9 app (Python 2), but am having trouble with it. When I try <code>python manage.py makemigrations</code>, I get the following error:</p>
  
  <blockquote>
    <p>ValueError: Cannot serialize: [myapp.models.OverwriteStorage object
    at 0x7fa1b84fc150] There are some values Django cannot serialize into
    migration files. For more, see
    <a href="https://docs.djangoproject.com/en/1.9/topics/migrations/#migration-serializing" rel="nofollow">https://docs.djangoproject.com/en/1.9/topics/migrations/#migration-serializing</a></p>
  </blockquote>
  
  <p>OverwriteStorage is a custom class I've included in models.py that overrides Django's inbuilt Storage class (found at <strong>django/core/files/storage.py</strong>) with Azure Storage. Going to the link cited above gives me a listing of what all Django can't serialize before migrating.</p>
  
  <p>What do you suggest I do to fix this? Please ask for more information if needed.</p>