[Django] #26532: static not working in css files

5 views
Skip to first unread message

Django

unread,
Apr 23, 2016, 1:16:12 AM4/23/16
to django-...@googlegroups.com
#26532: static not working in css files
-------------------------------+--------------------
Reporter: sainipray | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.9
Severity: Normal | Keywords: static
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
I want to use image using backgroud CSS property
background:url('images/avatar.jpg')
but I want to use below type syntax in CSS
background:url({% static 'images/avatar.jpg%}' )
but this is not working.

--
Ticket URL: <https://code.djangoproject.com/ticket/26532>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 23, 2016, 4:12:22 AM4/23/16
to django-...@googlegroups.com
#26532: static not working in css files
-------------------------------+--------------------------------------
Reporter: sainipray | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 1.9
Severity: Normal | Resolution: duplicate

Keywords: static | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by claudep):

* status: new => closed
* needs_better_patch: => 0
* resolution: => duplicate
* needs_tests: => 0
* needs_docs: => 0


Comment:

Duplicate of #26531

--
Ticket URL: <https://code.djangoproject.com/ticket/26532#comment:1>

Reply all
Reply to author
Forward
0 new messages