Re: Django doesn't load css
Hello Kostia,
I get a template syntax error with your method, since I haven't
defined a "static" view. How does your static-view look like?
I've already tried it like described here --> <http://
docs.djangoproject.com/en/dev/howto/static-files/> but I don't get it
work either, I get a TypeError: bad operand type for unary +: 'list'
for the urlpattern that the docs suggest to include.
Antoni, we've tried it already with the {{ MEDIA_URL }} variable, but
to make it braindead simple we've hardcoded the paths.
On the example you've linked: There is only a picture in the download
section, no code.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home