Appointment.models module¶
- class Appointment.models.Appoint(Aid, Atime, Astart, Afinish, Ausage, Aannouncement, Anon_yp_num, Ayp_num, Acheck_status, Room, major_student, Astatus, Aneed_num, Acamera_check_num, Acamera_ok_num, Areason, Atype)[源代码]¶
基类:
Model
- Aannouncement¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Acamera_check_num¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Acamera_ok_num¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Acheck_status¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Afinish¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Aid¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Aneed_num¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Anon_yp_num¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Areason¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Astart¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Astatus¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Atime¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Atype¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Ausage¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Ayp_num¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class CheckStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
基类:
IntegerChoices
- FAILED = 0¶
- PASSED = 1¶
- UNSAVED = 2¶
- exception DoesNotExist¶
基类:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
基类:
MultipleObjectsReturned
- class Permission(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
-
- CANCEL = 'cancel_appointment'¶
- CREATE = 'create_appointment'¶
- class Reason(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
基类:
IntegerChoices
- R_ELSE = 3¶
- R_LATE = 1¶
- R_NOVIOLATED = 0¶
- R_TOOLITTLE = 2¶
- Room: ForeignKey¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- Room_id¶
- class Status(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
基类:
IntegerChoices
- APPOINTED = 1¶
- CANCELED = 0¶
- CONFIRMED = 4¶
- JUDGED = 6¶
- PROCESSING = 2¶
- VIOLATED = 5¶
- WAITING = 3¶
- class Type(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
基类:
IntegerChoices
预约类型
- INTERVIEW = 4¶
- LONGTERM = 3¶
- NORMAL = 0¶
- TEMPORARY = 2¶
- TODAY = 1¶
- get_Acheck_status_display(*, field=<django.db.models.fields.SmallIntegerField: Acheck_status>)¶
- get_Areason_display(*, field=<django.db.models.fields.IntegerField: Areason>)¶
- get_Astatus_display(*, field=<django.db.models.fields.IntegerField: Astatus>)¶
- get_Atype_display(*, field=<django.db.models.fields.SmallIntegerField: Atype>)¶
- get_next_by_Afinish(*, field=<django.db.models.fields.DateTimeField: Afinish>, is_next=True, **kwargs)¶
- get_next_by_Astart(*, field=<django.db.models.fields.DateTimeField: Astart>, is_next=True, **kwargs)¶
- get_next_by_Atime(*, field=<django.db.models.fields.DateTimeField: Atime>, is_next=True, **kwargs)¶
- get_previous_by_Afinish(*, field=<django.db.models.fields.DateTimeField: Afinish>, is_next=False, **kwargs)¶
- get_previous_by_Astart(*, field=<django.db.models.fields.DateTimeField: Astart>, is_next=False, **kwargs)¶
- get_previous_by_Atime(*, field=<django.db.models.fields.DateTimeField: Atime>, is_next=False, **kwargs)¶
- longtermappoint¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- major_student: ForeignKey¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- major_student_id¶
- objects: AppointManager = <Appointment.models.AppointManager object>¶
- students: Manager¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- property students_manager: ManyRelatedManager¶
获取所有参与者,允许进行批量管理
- class Appointment.models.CardCheckInfo(id, Cardroom, Cardstudent, Cardtime, CardStatus, Message)[源代码]¶
基类:
Model
- CardStatus¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Cardroom: Room¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- Cardroom_id¶
- Cardstudent: Participant¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- Cardstudent_id¶
- Cardtime¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception DoesNotExist¶
基类:
ObjectDoesNotExist
- Message¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- exception MultipleObjectsReturned¶
基类:
MultipleObjectsReturned
- class Status(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
基类:
IntegerChoices
- DOOR_CLOSE = 0¶
- DOOR_OPEN = 1¶
- get_CardStatus_display(*, field=<django.db.models.fields.SmallIntegerField: CardStatus>)¶
- get_next_by_Cardtime(*, field=<django.db.models.fields.DateTimeField: Cardtime>, is_next=True, **kwargs)¶
- get_previous_by_Cardtime(*, field=<django.db.models.fields.DateTimeField: Cardtime>, is_next=False, **kwargs)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- class Appointment.models.College_Announcement(id, show, announcement)[源代码]¶
基类:
Model
- exception DoesNotExist¶
基类:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
基类:
MultipleObjectsReturned
- class Show_Status(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
基类:
IntegerChoices
- No = 0¶
- Yes = 1¶
- announcement¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_show_display(*, field=<django.db.models.fields.SmallIntegerField: show>)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- show¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class Appointment.models.LongTermAppoint(*args, **kwargs)[源代码]¶
基类:
Model
记录长期预约所需要的全部信息
- exception DoesNotExist¶
基类:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
基类:
MultipleObjectsReturned
- class Status(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
基类:
IntegerChoices
- APPROVED = 2¶
- CANCELED = 1¶
- REJECTED = 3¶
- REVIEWING = 0¶
- applicant: Participant¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- applicant_id¶
- appoint: Appoint¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- appoint_id¶
- cancel(all=False, delete=False)[源代码]¶
原子化取消长期预约以及它的子预约,不应出错
- 参数:
all (bool, optional) -- 取消全部,否则只取消未开始的预约, defaults to False
delete (bool, optional) -- 以数据库删除代替取消,长期预约也会级联删除, defaults to False
- 返回:
取消的子预约数量
- 返回类型:
int
- get_status_display(*, field=<django.db.models.fields.SmallIntegerField: status>)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- interval¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects: LongTermAppointManager = <Appointment.models.LongTermAppointManager object>¶
- review_comment¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- status: int | Status¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- sub_appoints(lock=False) QuerySet [源代码]¶
获取时间升序的子预约,只有类型为长期预约的被视为子预约,不应出错
- 参数:
lock (bool, optional) -- 上锁,调用者需要自行开启事务, defaults to False
- 返回:
时间升序的子预约
- 返回类型:
QuerySet[Appoint]
- times¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class Appointment.models.Participant(Sid, hidden, longterm, agree_time)[源代码]¶
基类:
Model
- exception DoesNotExist¶
基类:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
基类:
MultipleObjectsReturned
- Sid¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- Sid_id¶
- agree_time¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- appoint_list: AppointManager¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- appoint_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- property appoints_manager: ManyRelatedManager¶
获取所有预约,允许进行批量管理
- cardcheckinfo_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- property credit: int¶
通过此方法访问的信用分是只读的,修改应使用User.objects方法
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- longterm¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- longtermappoint_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- property name: str¶
- objects = <django.db.models.manager.Manager object>¶
- class Appointment.models.Room(Rid, Rtitle, Rmin, Rmax, Rstart, Rfinish, Rlatest_time, Rpresent, Rstatus, RIsAllNight, RneedAgree)[源代码]¶
基类:
Model
- exception DoesNotExist¶
基类:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
基类:
MultipleObjectsReturned
- RIsAllNight¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Rfinish¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Rid¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Rlatest_time¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Rmax¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Rmin¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- RneedAgree¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Rpresent¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Rstart¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Rstatus¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- Rtitle¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class Status(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
基类:
IntegerChoices
- FORBIDDEN = 2¶
- PERMITTED = 0¶
- UNLIMITED = 1¶
- appoint_list: AppointManager¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- property appoints_manager: ManyRelatedManager¶
获取所有预约,允许进行批量管理
- get_Rstatus_display(*, field=<django.db.models.fields.SmallIntegerField: Rstatus>)¶
- get_next_by_Rlatest_time(*, field=<django.db.models.fields.DateTimeField: Rlatest_time>, is_next=True, **kwargs)¶
- get_previous_by_Rlatest_time(*, field=<django.db.models.fields.DateTimeField: Rlatest_time>, is_next=False, **kwargs)¶
- objects: RoomManager = <Appointment.models.RoomManager object>¶
- class Appointment.models.User(*args, **kwargs)[源代码]¶
基类:
AbstractUser
,PointMixin
用户模型
Attributes: - id: 用户主键 - username: 用户名,学号 - name: 用户名称 - utype: 用户类型,参考User.Type - 其它继承字段参考AbstractUser
See Also: -
UserManager
-django.contrib.auth.models.AbstractUser
- exception DoesNotExist¶
基类:
ObjectDoesNotExist
- MAX_CREDIT: Final = 3¶
- MIN_CREDIT: Final = 0¶
- exception MultipleObjectsReturned¶
基类:
MultipleObjectsReturned
- REQUIRED_FIELDS = ['name']¶
- class Type(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[源代码]¶
基类:
TextChoices
- ORG = 'Organization'¶
- PERSON = 'Person'¶
- SPECIAL = ''¶
- STUDENT = 'Student'¶
- TEACHER = 'Teacher'¶
- UNAUTHORIZED = 'Unauthorized'¶
- YQpoint¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- academicqaawards¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- accept_anonymous_chat¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- accept_chat¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- achievementunlock_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- acronym¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- active¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- agreement_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- answersheet_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- comment_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- credit¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- creditrecord_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- date_joined¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- dormitoryassignment_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- email¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- first_name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_next_by_date_joined(*, field=<django.db.models.fields.DateTimeField: date_joined>, is_next=True, **kwargs)¶
- get_previous_by_date_joined(*, field=<django.db.models.fields.DateTimeField: date_joined>, is_next=False, **kwargs)¶
- get_utype_display(*, field=<django.db.models.fields.CharField: utype>)¶
- groups¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- is_active¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- is_newuser¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- is_staff¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- is_superuser¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_login¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- logentry_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- modify_records¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- modifyorganization_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- modulelog_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- name¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- naturalperson¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- objects: UserManager = <generic.models.UserManager object>¶
- organization¶
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- pagelog_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- password¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- permissionblacklist_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- pinyin¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- poolrecord_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- prize_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- receive_chat_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- recv_notice¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- send_chat_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- send_notice¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- survey_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- user_permissions¶
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- username¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- utype: Type | str¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- yqpointrecord_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.