html page
[image: image.png]
[image: image.png]
settings.py
[image: image.png]
any suggestions would be appreciated
--
John McClain
Cell: 085-1977-823
Skype: jmcclain0129
Email: jmcclain0...@gmail.com
--
You received this message because you are subscribed to the Google Groups
"Django
Why do you have a ; in the src part of the img tag? I am guessing that you
get a 404 now?
Regards,
Andréas
Den fre 3 apr. 2020 kl 12:08 skrev John McClain :
> html page
>
> [image: image.png]
>
> [image: image.png]
>
>
> settings.py
>
> [image: image.png]
>
>
> any suggestions would be apprec
Hi John,
On 03/04/2020 12.18, John McClain wrote:
snap a screenshot of what you are saying
am not getting 404
am not getting any error returned at all
I simply cannot see the image
Learn to use your browsers debugging tools and read the output from the
Django server logs. That will make it
genius ;-(
On Fri, 3 Apr 2020 at 11:27, Kasper Laudrup wrote:
> Hi John,
>
> On 03/04/2020 12.18, John McClain wrote:
> > snap a screenshot of what you are saying
> >
> > am not getting 404
> > am not getting any error returned at all
> > I simply cannot see the image
> >
>
> Learn to use your b
On 03/04/2020 12.31, John McClain wrote:
genius ;-(
I'm sorry, I don't understand what that's supposed to mean?
I would assume that the log from Django or your web browsers console
would show something, but you haven't posted any output from it so how
could I know if you already had a look
Greetings,
i'd like to have online courses in my website. I found it quite difficult
to serve and protect videos (i'm not so skilled in Django), so i'd like to
try to use some service like Vimeo to make my life easier and solve
serving/playing and video protection.
Right now i have website bas
I mean your answer was quite derogatory and if you are not part of the
solution then you are part of the problem
and for your information, I am a learner and I am trying to learn and I
have spent a lot of time on the boards on StackOverflow and elsewhere
including using my inspect tool inside chro
Oh, sorry, I saw this on a very old django application. Thank you Graham
for this hint.
Am Freitag, 3. April 2020 02:18:19 UTC+2 schrieb Tim Graham:
>
> What version of Django are you using?
>
> https://github.com/elky/django-flat-responsive is an extension for the
> Django admin that makes the
I'm using vs code and doing the tutorial
https://docs.djangoproject.com/en/3.0/intro/tutorial03/
at the " Here’s one stab at a new index() " part of the tutorial when
writing to polls/vies.py
file I get an error from vs code (in the "latest_questin_list=")
that Question has no 'objects.
why i
Hi
I am new to Python and Django and following a great tutorial to buidl a
simple webpage.
But I ran into a problem when trying to utilize the 'objects' function
within django.db.models.Model - it's simply not there...?
I have searched inside the source code in django and could not find it.
Ru
Thank You
For Posting this answer ...I was trying to solve this error whole night but
thank you i got solution from YOU.
On Thursday, December 12, 2019 at 1:34:59 PM UTC+5:30, Andréas Kühne wrote:
>
> Are you running django 3.0?
>
> If you are you shouldn't use: {% load static from staticfiles
Hi John,
On 03/04/2020 12.52, John McClain wrote:
I mean your answer was quite derogatory and if you are not part of the
solution then you are part of the problem
I'm sorry if it sounded like that. That was not my intention. I was
definitely trying to help. I don't understand which problem
Kasper,
Thanks for clarifying matters...
I think you could have asked for more details or asked for me to provide
those resources so you could evaluate further rather than replying the way
you did.
As far as the inspector goes it is not flagging anything that is useful for
this matter. As I stat
As I know, there is no way to use Django template language inside
Javascript block so I searched for a way how to do it, I found a Django app
on github called django-jsrender but unfortunately, there isn't enough
documentation for this app and when I tried to use it I couldn't and this
is my c
What I stated earlier is probably your issue:
You have the following:
style="background-image: img src="{% static 'images/image_name.png'
%};">
You see the ";" at the end? The path to your image is then
"images/image_name.png;" <- which is incorrect because of the
extra semicolon.
I would at lea
I think you can use some basic template language within a script block like
below. myData is a stringified json object, that worked for me.
antje
{% if myData %}
var table_data = {{ myData|safe }};
{% else %}
var table_data = null;
{% endif %}
On Fri, Apr 3, 2020 at 4:00 PM Yacin
Thank you for your reply
On Fri, 3 Apr 2020, 1:31 pm guettli,
wrote:
> Oh, sorry, I saw this on a very old django application. Thank you Graham
> for this hint.
>
> Am Freitag, 3. April 2020 02:18:19 UTC+2 schrieb Tim Graham:
>>
>> What version of Django are you using?
>>
>> https://github.com/e
When trying to render my content_detail.html template (printed below), I am
receiving the following error:
-
- /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/uuid.py
in __init__
1.
raise ValueError('badly formed hexadecimal UUID string
Hello,
I'm having issues getting multiple constraints to work (in postgres, if it
matters).
Here is the Meta:
class Meta:
constraints = [
CheckConstraint(
check=(Q(target_value__gt=0) & ~Q(target_metric=DEFAULT)) |
(Q(enabled=False) |
oh, forgot: versions are Python 3.7.6 and Django 2.2.11
On Friday, April 3, 2020 at 7:46:40 PM UTC+2, mccc wrote:
>
> Hello,
>
> I'm having issues getting multiple constraints to work (in postgres, if it
> matters).
> Here is the Meta:
>
>
> class Meta:
> constraints = [
> CheckConst
Hello i can't authenticate user
I have crete the user with:
def create_user(request
us = request.POST['username']
ml = request.POST['email']
passw = request.POST['password']
User.objects.create_user(us, ml, passw)
return..
I see the user in the database
u must include the save method
--
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 visi
authenticate take only 2 parameters :
1 - username_field ( default : username , if you changed it to email you
need to pass email )
2 - password
On Sat, Apr 4, 2020 at 1:19 AM ahmed elabbasy
wrote:
> u must include the save method
>
> --
> You received this message because you are subscribed t
Hello,I developed a form with a single field, but this form displays only
the submit button at the browser as shown in the image below. Please how
can I correct this and also save the field to the MySQL table. My code is
also shown below
[image: django form.png]
View.py
from django.http im
In the form template tag, shouldn’t it be {{ form.as_p}} tag?
On Sat 4. Apr 2020 at 3.35, Ifeanyi Chielo
wrote:
> Hello,I developed a form with a single field, but this form displays only
> the submit button at the browser as shown in the image below. Please how
> can I correct this and also sa
Thanks Victor,
I did it and it does not make any cnange
On Saturday, April 4, 2020 at 1:41:19 AM UTC+1, victor awakan wrote:
>
> In the form template tag, shouldn’t it be {{ form.as_p}} tag?
>
> On Sat 4. Apr 2020 at 3.35, Ifeanyi Chielo > wrote:
>
>> Hello,I developed a form with a single field
Please share code for home.html & urls.py. Also have you included the app name
in the settings.py?
Thanks,
Bruckner de Villiers
083 625 1086
From: on behalf of Ifeanyi Chielo
Reply to:
Date: Saturday, 04 April 2020 at 02:51
To: Django users
Subject: Re: Working with forms
Thank
27 matches
Mail list logo