Closed svvitale closed 6 years ago
This seems reasonable, but I can't reproduce a problem. If I comment out django.contrib.staticfiles
from INSTALLED_APPS
, the command still works. Is it moreso that using a non-installed app is bad style?
The issue arises when you don't have a STATIC_URL set in your settings.py file:
django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the required STATIC_URL setting.
I prefer to check for the staticfiles app in case STATIC_URL changes or is removed in the future (even though that's pretty unlikely).
Ah! Makes sense. Thanks.
…_ngrok command.