Hello
In the setup file i have:

STATIC_URL = '/static/'
MEDIA_URL = '/media/'

#STATICFILES_DIRS = [
#    os.path.join(BASE_DIR, "static"),
#    '/polls/static/polls',
#]

STATIC_ROOT = "F:/aflbmanager/mysite/polls/static"
MEDIA_ROOT = "F:/aflbmanager/mysite/polls/media"

In the template for load file that are in static file i use:
{% load static %}
than  for load the file :
<link rel="stylesheet" href="{% static "bese.css" %}">
and it works

How i can load image stored in media/img
<img src=????????

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3b856ad3-5c87-4297-910b-2fe85752f22en%40googlegroups.com.

Reply via email to