If you are using djagno1.9 below, just add snippets. In older versions of django startapp, the management team will not create apps.py. you need to create a new apps.py.
> Django 1.9
apps.py startapp
(env) simple: python manage.py startapp snippets
(env) simple: find snippets
snippets
snippets/models.py
snippets/tests.py
snippets/views.py
snippets/admin.py
snippets/__init__.py
snippets/apps.py
snippets/migrations
snippets/migrations/__init__.py
(env) simple: cat snippets/apps.py
from __future__ import unicode_literals
from django.apps import AppConfig
class SnippetsConfig(AppConfig):
name = 'snippets'
Rest-Framework, Django 1.9.
django 1.9 GitHub
apps.py django 1.9