user = None
request = self.context.get("request")if request and hasattr(request, "user"):
user = request.userin 2nd line i am getting none as request.please help me -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
