need more time
to figure this out.
Bart
Op zondag 29 december 2019 22:26:35 UTC+1 schreef Bart Jonkers:
>
> Hi,
>
> I have a question about one-to-many relations in models
> What is best to use? ForeignKey of many to ManyToManyField?
>
> I want to attach files to a model.
Hi,
I have a question about one-to-many relations in models
What is best to use? ForeignKey of many to ManyToManyField?
I want to attach files to a model.
The *ForeignKey* is easy to use.
class Feed(models.Model):
user=models.ForeignKey(User, on_delete=models.CASCADE,
related_name='feeds'
You need to set
https://www.dev2qa.com/how-do-i-enable-less-secure-apps-on-gmail/
Bart
Op vr 18 okt. 2019 om 17:33 schreef James Gutu :
> What error are you getting? Look at the traceback, or even copy paste it
> here.
> Ensure you have set the EMAIL_HOST_USER, EMAIL_HOST_PASSWORD,
> EMAIL_HOST_
3 matches
Mail list logo