[Fixed]-Checking existing user in model and inform him about it

1👍

Use reverse relations, e.g.
in your models

class Project(models.Model):
    manager_of_the_project = models.ForeignKey('User', models.CASCADE, related_name='projects')

Then from your user model you can check if the user is a manager of any projects like this:

user.projects

Leave a comment