Hello, I want to override the default email that is set on Django settings and instead append my own email how do I do that
Solvedi have add<img src="/media/img/myfile" alt="my file">--Il giorno giovedì 11 febbraio 2021 alle 15:27:51 UTC+1 luca72.b...@gmail.com ha scritto:HelloIn 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 worksHow 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/669fe9d3-9bd8-412d-8e2b-0efa3435c5a7n%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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHUbE%2BZ6njeG7QS7V7ErwReBjbVga8wpiNGswgKJ5XJM7WCLhw%40mail.gmail.com.
No comments:
Post a Comment