Django: no such table snippets_snippet
<p>I'm following this Django Rest tutorial on serialization: <a href="http://www.django-rest-framework.org/tutorial/1-serialization/#getting-started" rel="nofollow">http://www.django-rest-framework.org/tutorial/1-serialization/#getting-started</a></p>

<p>I followed it pretty much to the letter. It gives the above error when I try to save a snippet.</p>

<pre><code>from snippets.models import Snippet
from snippets.serializers import SnippetSerializer
from rest_framework.renderers import JSONRenderer
from rest_framework.parsers import JSONParser

snippet = Snippet(code='foo = "bar"\n')
snippet.save()
</code></pre>

<p>I'm working on Windows. The tutorial is made for Apple. I have had to enter some commands slightly differently for this reason. I have no idea if this has to do with what is wrong in this case. </p>

<p>I don't know where to even start in figuring out the problem here, so I could use any help. Thanks.</p>

<p>I believe the error refers to the models.py. Could you show the file so I can double check that too. Also there is a chance for unapllied migartions, double check if you've done this as well.</p>

python django serialization code-snippets