/ Published in: Django
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
role, created = UserToUserRole.objects.get_or_create( from_user=current_user, to_user=user, role='follow')