Tuesday, July 23, 2019

Re: Running of index.html file

This is the exact problem whenever i am doing this its showing an error during these images. Help me brother there is a deadline near for internship and i am thinking about uploading this as my framework

On Jul 24, 2019 9:34 AM, "vignesh karthik" <karthikvignesh28@gmail.com> wrote:



style="background-image: url('{% static 'images/bg_2.jpg' %}');">

Instead put below line

  
style="background-image: url({% static 'images/bg_2.jpg' %});">

Remove single quotes before ('{%static


On Wed, Jul 24, 2019 at 9:28 AM Mukul Dharwala <dharwalamukul@gmail.com> wrote:
Tried this also

On Jul 24, 2019 9:26 AM, "vignesh karthik" <karthikvignesh28@gmail.com> wrote:
did you try install pillow..if it is not try this command

pip install pillow

On Wed, Jul 24, 2019 at 9:22 AM Mukul Dharwala <dharwalamukul@gmail.com> wrote:
thanks brother but i have tried everything

On Jul 24, 2019 9:21 AM, "vignesh karthik" <karthikvignesh28@gmail.com> wrote:
Hi there,

in settings.py

under 

STATIC_URL = '/static'

Add below Lines


STATICFILES_DIRS = (
    os.path.join(BASE_DIR, 'static'),
)

Thank you

On Wed, Jul 24, 2019 at 8:30 AM Mukul Dharwala <dharwalamukul@gmail.com> wrote:
All files are working except this one its images are not showing as well as whenever i am putting{%load %} in front of any css file or jpg file it is showing an error. plzz go through my code and help me correcting it 

--
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/ef6dc860-24bb-417b-9f97-98728eaad29b%40googlegroups.com.


--
vignesh

--
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/CAEJDTZ-qCx8f%3D0OJ%2BNzXPzT0pY_KBv8-xwdPHBLUH-U_9XVMHQ%40mail.gmail.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/CAFOmVPEYvYU61is9DKLMA3MftzSGYhC2t5HFnDRUs5OE6ULOsA%40mail.gmail.com.


--
vignesh

--
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/CAEJDTZ_n75D9OR-gCsjXR8sS9__6ow6AGZizPnUXNL-c%3DB%3DPRw%40mail.gmail.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/CAFOmVPE_aFbXRVa%2BSw78W8E-BoFzf6Ljs8XayW7DWv86ut_8fA%40mail.gmail.com.


--
vignesh

--
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/CAEJDTZ96QkypPQ%3DtXorMy3LFFXt1fsaZBY78Y0nTnuU0pMEAcw%40mail.gmail.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/CAFOmVPEQ0yu80A84VmjVj2xuUyvXv5vd2t2fiwgdYV_U8WTOXg%40mail.gmail.com.

No comments:

Post a Comment