1👍
Use a relative path. Relative to the folder where the css file reside.
background: url('../assets/images/2.gif');
And use it in template file like this:
{% load staticfiles %}
<link href="{% static 'css_file_address' %}" rel="stylesheet" media="screen">
Source:stackexchange.com