I have myApp/static/styles2.css
The template myApp\templates\myApp\ver1\tmpl.html has
<head>
{% load static %}
<link rel="stylesheet" href="{% get_static_prefix %}
styles2.css" type="text/css" media="screen" />
</head>
In the settings file I have STATICFILES_FINDERS →
'django.contrib.staticfiles.finders.AppDirectoriesFinder'
In the url I have urlpatterns += staticfiles_urlpatterns().
Any suggestions of what I'm doing wrong? I eventually want the css to
be: myApp/static/myApp/ver1/styles.css
--
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.
No comments:
Post a Comment