title: Django rest framework - upload images to Azure storage
body: <p>django-storages and azure-storage 0.36(newer versions give loads of errors) installed in the virtualenvironment the upload seems to be working as the API sends a response with the supposedly correct link to the image. But on the Azure storage nothing is created. </p>
  
  <p>Just using the default file upload options, the file uploads work normally.</p>
  
  <p>Is using the django-storages backends the way to go or am I supposed to use the Azure python sdk directly? </p>
  
  <p>settings.py</p>
  
  <pre><code>INSTALLED_APPS = (
      ....
      'storages'
  )
  
  DEFAULT_FILE_STORAGE = 'storages.backends.azure_storage.AzureStorage'
  AZURE_ACCOUNT_NAME = "myaccountname"
  AZURE_ACCOUNT_KEY = "mykey"
  AZURE_CONTAINER = "media"
  
  
  MEDIA_ROOT = "http://mystorageaccount.blob.core.windows.net/"
  MEDIA_URL = "http://mystorageaccount.blob.core.windows.net/media/"
  </code></pre>
  
  <p>models.py</p>
  
  <pre><code>image = models.ImageField(upload_to='images', null=True, blank=True)
  </code></pre>
  
  <p>With this setup it seems to be working </p>