Discussion:
please i need assistance with mine css file .Mine base.html file failed to load my style.css.
Obodoma Uzondu Vincent
2018-11-21 15:05:37 UTC
Permalink
base.html file

<link rel="stylesheet" href="
https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="
https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="
https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
{% load static %}
<link rel="stylesheet" type ='text/css' href="{% static
'general/style.css' %}">
<link rel="short icon" type="images/jpg" href="{% static
'general/images/sun.jpg' %}">
--
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+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACsKspnJ1iQMBnBn%2BKovaFBxzVFKA1GyEpKERFhcxvWSFTamEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Babatunde Akinyanmi
2018-11-21 15:22:46 UTC
Permalink
Hi.

You haven't given us any useful information for assisting you. You will get
more replies if you say what you have done, show what your settings look
like, tell if your are using the development server, stuff like that.

Welcome to the django community
Post by Obodoma Uzondu Vincent
base.html file
<link rel="stylesheet" href="
https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="
https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="
https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
{% load static %}
<link rel="stylesheet" type ='text/css' href="{% static
'general/style.css' %}">
<link rel="short icon" type="images/jpg" href="{% static
'general/images/sun.jpg' %}">
--
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
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CACsKspnJ1iQMBnBn%2BKovaFBxzVFKA1GyEpKERFhcxvWSFTamEQ%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CACsKspnJ1iQMBnBn%2BKovaFBxzVFKA1GyEpKERFhcxvWSFTamEQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BWjgXNy70-%2BquRPTLpAwnY9Rnc4Cm-n8NEuwMYLgDhzX%3D5%3DjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Yavin Aalto Arba
2018-11-22 06:33:35 UTC
Permalink
It might help to create a link to the static file and then check the error
upon reaching the url. I also recommend using the django debugging tool
bar!

Otherwise, it could really help if u were to share the location of the
file in the project as well as the static url and other static related
settings from settings.py
Post by Babatunde Akinyanmi
Hi.
You haven't given us any useful information for assisting you. You will
get more replies if you say what you have done, show what your settings
look like, tell if your are using the development server, stuff like that.
Welcome to the django community
Post by Obodoma Uzondu Vincent
base.html file
<link rel="stylesheet" href="
https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="
https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="
https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
{% load static %}
<link rel="stylesheet" type ='text/css' href="{% static
'general/style.css' %}">
<link rel="short icon" type="images/jpg" href="{% static
'general/images/sun.jpg' %}">
--
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
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CACsKspnJ1iQMBnBn%2BKovaFBxzVFKA1GyEpKERFhcxvWSFTamEQ%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CACsKspnJ1iQMBnBn%2BKovaFBxzVFKA1GyEpKERFhcxvWSFTamEQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CA%2BWjgXNy70-%2BquRPTLpAwnY9Rnc4Cm-n8NEuwMYLgDhzX%3D5%3DjA%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CA%2BWjgXNy70-%2BquRPTLpAwnY9Rnc4Cm-n8NEuwMYLgDhzX%3D5%3DjA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B%2Be-ZWsNKgzYc8hcOCguT4vpnrmsbgnt7JwNdRG3f9PSQv1qA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Mohan Goud
2018-11-22 21:49:45 UTC
Permalink
If u r using pycharm free version. It doesn't support css files. kindly
check that
Post by Yavin Aalto Arba
It might help to create a link to the static file and then check the error
upon reaching the url. I also recommend using the django debugging tool
bar!
Otherwise, it could really help if u were to share the location of the
file in the project as well as the static url and other static related
settings from settings.py
Post by Babatunde Akinyanmi
Hi.
You haven't given us any useful information for assisting you. You will
get more replies if you say what you have done, show what your settings
look like, tell if your are using the development server, stuff like that.
Welcome to the django community
Post by Obodoma Uzondu Vincent
base.html file
<link rel="stylesheet" href="
https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="
https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="
https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
{% load static %}
<link rel="stylesheet" type ='text/css' href="{% static
'general/style.css' %}">
<link rel="short icon" type="images/jpg" href="{% static
'general/images/sun.jpg' %}">
--
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
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CACsKspnJ1iQMBnBn%2BKovaFBxzVFKA1GyEpKERFhcxvWSFTamEQ%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CACsKspnJ1iQMBnBn%2BKovaFBxzVFKA1GyEpKERFhcxvWSFTamEQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CA%2BWjgXNy70-%2BquRPTLpAwnY9Rnc4Cm-n8NEuwMYLgDhzX%3D5%3DjA%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CA%2BWjgXNy70-%2BquRPTLpAwnY9Rnc4Cm-n8NEuwMYLgDhzX%3D5%3DjA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CA%2B%2Be-ZWsNKgzYc8hcOCguT4vpnrmsbgnt7JwNdRG3f9PSQv1qA%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CA%2B%2Be-ZWsNKgzYc8hcOCguT4vpnrmsbgnt7JwNdRG3f9PSQv1qA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAB29Dkk1QEpd5B6qgDWd21idWuj4hg1pqBKf_3HeEKxPyz6aoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...