1.5.4 /static/ serving 500 error
Hi all,
with structure
|myproject
|---static
| ---picture.jpg
|--myproject
---settings.py
settings.py
import os
MYPROJECT_PATH = os.getcwd()
DEBUG = True
***
STATIC_ROOT = os.path.join(MYPROJECT_PATH, 'static')
STATIC_URL = '/static/'
STATICFILES_DIRS = (STATIC_ROOT,)
in Django 1.5.4
I am receiving a 500 error in terminal and the "A server error
occurred. Please contact the administrator." text on the page.
I've sorted through the relevant Django docs, SO answers, and list
archives, but I don't seem to find an identical circumstance to this.
Anything jump out to anyone? Gratitude.
-- with structure
|myproject
|---static
| ---picture.jpg
|--myproject
---settings.py
settings.py
import os
MYPROJECT_PATH = os.getcwd()
DEBUG = True
***
STATIC_ROOT = os.path.join(MYPROJECT_PATH, 'static')
STATIC_URL = '/static/'
STATICFILES_DIRS = (STATIC_ROOT,)
in Django 1.5.4
I am receiving a 500 error in terminal and the "A server error
occurred. Please contact the administrator." text on the page.
I've sorted through the relevant Django docs, SO answers, and list
archives, but I don't seem to find an identical circumstance to this.
Anything jump out to anyone? Gratitude.
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4d16cd13-039b-4250-9599-12aa0aaf8384%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home