Education#
- class user.models.Education(*args, **kwargs)#
Bases:
ModelModel for coach education. This model keep all coach education instance, foreign key relation. Each coach should have at most 5 education instance.
Attributes Summary
Attributes Documentation
- degree#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- end_date#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- 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>#
- school_name#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- start_date#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- user#
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.parentis aForwardManyToOneDescriptorinstance.
- user_id#