Django on Heroku: relation does not exist
<p>I built a Django 1.9 project locally with <code>sqlite3</code> as my default database. I have an application named <code>Download</code> which defines the <code>DownloadedSongs</code> table in <code>models.py</code>:</p>

<p>models.py</p>

<pre><code>from __future__ import unicode_literals
from django.db import models


class DownloadedSongs(models.Model):
    song_name = models.CharField(max_length = 255)
    song_artist = models.CharField(max_length = 255)

    def __str__(self):
        return self.song_name + ' - ' + self.song_artist
</code></pre>

<p>Now, in order to deploy my local project to Heroku, I added the following lines at the bottom of my <code>settings.py</code> file:</p>

<pre><code>import dj_database_url
DATABASES['default'] =  dj_database_url.config()
</code></pre>

<p>My application has a form with a couple of text fields, and on submitting that form, the data gets inserted into the <code>DownloadedSongs</code> table. Now, when I deployed my project on Heroku and tried submitting this form, I got the following error:</p>

<pre><code>Exception Type: ProgrammingError at /download/
Exception Value: relation "Download_downloadedsongs" does not exist
LINE 1: INSERT INTO "Download_downloadedsongs" ("song_name", "song_a...
</code></pre>

<p>This is how my <code>requirements.txt</code> file looks like:</p>

<pre><code>beautifulsoup4==4.4.1
cssselect==0.9.1
dj-database-url==0.4.1
dj-static==0.0.6
Django==1.9
django-toolbelt==0.0.1
gunicorn==19.6.0
lxml==3.6.0
psycopg2==2.6.1
requests==2.10.0
static3==0.7.0
</code></pre>

<p>Also, I did try to run the following commands as well:</p>

<pre><code>heroku run python manage.py makemigrations
heroku run python manage.py migrate
</code></pre>

<p>However, the issue still persists. What seems to be wrong here?</p>