How do i reference the the source correctly?
On Thursday, September 19, 2019 at 4:20:58 PM UTC+1, Tosin Ayoola wrote:
>
> I don't know if I'm write on but u're not referencing the source of the
> image wit the arc attribute, but rather u using the style attribute
>
> On Sep 19, 2019 16:11, "Jos
Is any of the static files coming through?
--
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
Do you use axios?
In my case, I use like this.
import axios from 'axios'
const apiClient = axios.create({
baseURL: 'http://localhost:8000',
headers: {
'Content-Type': 'application/json'
}
})
apiClient.get('/your/api/url/', {
headers: {
'Authorization': 'Token ' + yourToken
}
The remaining on template are the working perfectly, a better way to
troubleshoot this is to use your browser developer tools(network, console)
➕ have u tried img src="static file path" instead of img style="..."
On Sep 20, 2019 09:23, "Joseph Emeka" wrote:
> How do i reference the the source
img src="" paths work but the style="" does ot work. Like i said i did not
design the template
On Friday, September 20, 2019 at 3:08:21 PM UTC+1, Tosin Ayoola wrote:
>
> The remaining on template are the working perfectly, a better way to
> troubleshoot this is to use your browser developer too
Url(‘ ‘) pass the string
On Thu, 19 Sep 2019 at 7:50 PM, Joseph Emeka
wrote:
> The highlighted section of the code is not loading the image was the
> solution
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this gro
use this format : style = "background-image: url ( ' {{ STATIC_URL}}
images/about.jpg' )" . use this pattern to link the static files.
On Thu, Sep 19, 2019 at 7:20 AM Joseph Emeka
wrote:
> The highlighted section of the code is not loading the image was the
> solution
>
> --
> You received this
the server isn't running.
--
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
ht
Open the DOS as administrator and then try again
On Fri, 20 Sep 2019, 21:59 idb solutions,
wrote:
> the server isn't running.
>
> --
> 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
{% load 'static' %}
At top of your html page.
B. Raina
On Fri, 20 Sep 2019 at 21:49, Obodoma Uzondu Vincent
wrote:
> use this format : style = "background-image: url ( ' {{ STATIC_URL}}
> images/about.jpg' )" . use this pattern to link the static files.
>
> On Thu, Sep 19, 2019 at 7:20 AM Jos
run
<*python manage.py makemigrations*>
or
<*python manage.py migration*>
but ensure that you enable python environment.
B. Raina
On Fri, 20 Sep 2019 at 22:40, Anirudh Jain
wrote:
> Open the DOS as administrator and then try again
>
> On Fri, 20 Sep 2019, 21:59 idb solutions,
> wrote:
>
>>
*{% load 'static' %} *use this and make sure that* image src* path in *jinja
tag* with *static* keyword
*e.g *
**
B. Raina
On Wed, 18 Sep 2019 at 01:00, 'Amitesh Sahay' via Django users <
django-users@googlegroups.com> wrote:
> Below is the snippet of my project tree::
>
> [image: Inline ima
12 matches
Mail list logo