title: "OperationalError: database is locked" when deploying site to Azure
body: <p>I have built a django website and a part of it is Microsoft authentication link.
  When I upload the site to azure cloud and click on the "log in" link, I recieve the following error: <br></p>
  
  <pre><code>OperationalError at /login
  database is locked
  Request Method: GET
  Request URL:    http://bhkshield.azurewebsites.net/login
  Django Version: 2.2.2
  Exception Type: OperationalError
  Exception Value:    
  database is locked
  Exception Location: /home/site/wwwroot/antenv3.6/lib/python3.6/site-packages/django/db/backends/base/base.py in _commit, line 240
  Python Executable:  /usr/local/bin/python
  Python Version: 3.6.7
  Python Path:    
  ['/usr/local/bin',
   '/home/site/wwwroot',
   '/home/site/wwwroot/antenv3.6/lib/python3.6/site-packages',
   '/usr/local/lib/python36.zip',
   '/usr/local/lib/python3.6',
   '/usr/local/lib/python3.6/lib-dynload',
   '/usr/local/lib/python3.6/site-packages']
  Server time:    Fri, 14 Jun 2019 13:19:22 +0000
  </code></pre>
  
  <p><br>
  <br>
  I am using sqlite3 (setting.py code piece):</p>
  
  <pre><code>DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
      }
  }
  </code></pre>
  
  <p><br>I don't understand why I get this error because I don't insert or commit anything to the database. <br>
  My website consists only of one page that has a sign in link (4 views: home, contex intialize, login and callback). That's it. <br>
  <br>
  Just to mention, when I run the site locally, everything works. It stops working only after deployment. <br>
  Another weird thing is that I have uploaded something like this before to another site on azure and the login worked. For some reason, it doesn't work now and I have no idea why...
  <br>
  Has anyone encountered this type of error and can help?
  <br><br>
  If you need me to provide more files' content, let me know which files and I will.</p>