Seem pretty clear, you are calling db user and db password instead of email
and email password,
*EMAIL_HOST_USER = os.environ.get('DB_USER')*
*EMAIL_HOST_PASSWORD = os.environ.get('DB_PASSWORD')*
Regards,
Julio Cojom
El mar, 26 abr 2022 a las 23:38, 'Delvin Alexander' via Django users (<
django
Hi,
Run python manage.py makemigrations
python manage.py migrate
Thanks and Regards
J. Ranga Bharath
Cell: 9110334114
On Tue, 26 Apr 2022, 1:07 pm Israel Lewis, wrote:
> Hello guys,
>
> I'm having an error in my models when I add the FK to the faculty or the
> student.
> model.py
> from dja
Hello everyone,
May you please assist in informing me on what i need to do to resolve this
issue.
- *SMTPAuthenticationError at /password-reset/*
*- (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8
https://support.google.com/mail/?p=BadCredentials
j64-20020a62c54300
Hello people,
There are two models that are related to each other.
class Parent(models.Model):
name = models.CharField...
class Child(models.Model):
parent = models.ForeignKey(Parent)
value = models.CharField...
And there is a serializer built on "Child" model:
class ChildSerialize
Michele,
> ... the database connection seems to shut down randomly.
Could be the same problem as I described in
Database "InterfaceError connection already closed" with asgi.
https://groups.google.com/g/django-users/c/RmtFuCVLfPE/m/dBQjq7FsBQAJ
Django doesn't stick to the same thread (s
Error:
File
"C:\Users\tecnico.ricardo\PycharmProjects\pythonProject01\venv01\lib\site-packages\django\db\models\sql\query.py",
line 11, in
from collections import Counter, Iterator, Mapping, OrderedDict
ImportError: cannot import name 'Iterator' from 'collections'
(C:\Users\tecnico.rica
Can anyone explain me how to make send email form on page.
So my forms.py
class ContactForm(forms.Form):
name = forms.CharField(required=True)
last_name = forms.CharField()
adults = forms.IntegerField() children = forms.IntegerField()
email = forms.EmailField(required=True)
m
Did you run migrations???
You should run `python manage.py makemigrations` and then `python manage.py
migrate`
On Tue, Apr 26, 2022 at 8:37 AM Israel Lewis wrote:
> Hello guys,
>
> I'm having an error in my models when I add the FK to the faculty or the
> student.
> model.py
> from django.db im
hello i am new in django and i would like to use it with react native. and
for that I have to combine django and postgres . need a guide, any help
will be precious to me (support, site, course etc...) cordially
Hello
I think you can go about this in two ways,
1. you can start your project with
1. Are you using a model form?
if so, after you have check the request you can use
Post.save()***post as the model name for example.
2. for styling use https://django-crispy-forms.readthedocs.io/ or create
widgets with in the for and add the classes for each input.
Hope this help
Hello guys,
I'm having an error in my models when I add the FK to the faculty or the
student.
model.py
from django.db import models
# Create your models here.
class Student(models.Model):
first_name = models.CharField(max_length=100)
last_name = models.CharField(max_length=100)
reg_no = model
11 matches
Mail list logo