The S3 module is not set up properly in django storages, so I changed the way how the calling format is used.