Try it

url(" static 'some_path/image.png' ")

On Fri, 17 Jul 2020, 4:38 am sunday honesty, <[email protected]>
wrote:

> Hi django users, pls help me with this:
>
> In case we supply background image via the url() function as
> background-image: url("some_path/image.png")
>
> How do we do this in django static files?
> I tried
>
> url("{% static 'some_path/image.png' %}")
>
> but it didn't work, how do I do this pls?
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/c711150b-910c-4cbb-9823-48e0657fe352o%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJ0m4xjEH01K4x83%2BbaRkfn7BCPeFzL%3DurCjVu3AfoPyJBeK6w%40mail.gmail.com.

Reply via email to