Skip to content Skip to sidebar Skip to footer

Django Get Logged User In Function In Model

i have problem with getting access to user in function in model. Thanks for help, my code: class Module(models.Model): name = models.CharField(max_length=30) def ifended(se

Solution 1:

You can't. Set it in the view.


Post a Comment for "Django Get Logged User In Function In Model"