Hi,
Thank you, but I should have those correct.
I did some googling and ran following: python manage.py collectstatic
And I got this:
Django-project\lib\site-packages\django\contrib\staticfiles\storage.py", line 43, in path
raise ImproperlyConfigured("You're using the staticfiles app "
django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
If any advices available, I would appreciate it a lot, thank you.
-Mikko
2018-05-29 10:18 GMT+03:00 s.f.wrobel via Django users <django-users@googlegroups.com>:
--Make sure that you add the following line to your settings.py:INSTALLED_APPS = ['YOUR_APP_NAME','django.contrib.admin','django.contrib.auth','django.contrib.contenttypes','django.contrib.sessions','django.contrib.messages','django.contrib.staticfiles',]In your case YOUR_APP_NAME should be polls.Only with this line set, django looks in polls/static/polls/ for static (e.g .css) files.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com .
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1ce28246- .ddf6-48b2-9811-988678beb65c% 40googlegroups.com
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGD0jjJUHeZD2ep52j-NArHPjEibVMK3Jiiqor4O4BEuS2_gtw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment