Avoid failing examples when django-fastdev is not installed
# Application definition
INSTALLED_APPS = [
- 'django_fastdev',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'examples',
]
+try:
+ import django_fastdev
+except ImportError:
+ pass
+else:
+ INSTALLED_APPS += ['django_fastdev']
+
try:
import django_pycharm_breakpoint
except ImportError:
