:py:mod:`oioioi.problemsharing.models` ====================================== .. py:module:: oioioi.problemsharing.models Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: oioioi.problemsharing.models.Friendship .. py:class:: Friendship(*args, **kwargs) Bases: :py:obj:`django.db.models.Model` Represents a friendship between task creators Friends can access user uploaded problems. Friendship is one-sided. .. py:class:: Meta .. py:attribute:: unique_together :annotation: = ['creator', 'receiver'] .. py:attribute:: creator .. py:attribute:: receiver