classroom.models package

Module contents

class classroom.models.Course(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

클래스(수업)

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

TYPE_CHOICES = (('open', 'Open Course'), ('regular', 'Regular Course'))
TYPE_OPEN = 'open'
TYPE_REGULAR = 'regular'
assignments

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

assistant_users
begin

start_date 의 별칭 :return:

budget

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 a ForwardManyToOneDescriptor instance.

budget_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

column_prefix = 'C_'
delete(using=None, keep_parents=False)[소스]
end

end_date 의 별칭 :return:

get_type_display(**morekwargs)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

info

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 a ReverseOneToOneDescriptor instance.

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

metadata

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 a ReverseOneToOneDescriptor instance.

name

Course 이름 :return:

objects = <classroom.models.courses.CourseManager object>
owners
roles

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

save(force_insert=False, force_update=False, using=None, update_fields=None)[소스]

Saves the current instance. Override this in a subclass if you want to control the saving process.

The 'force_insert' and 'force_update' parameters can be used to insist that the "save" must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.

staff_roles
student_users
teaching_users
type

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

users

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 and topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

class classroom.models.CourseRole(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

수업에서의 역할(다중 역할)

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

ROLE_ASSISTANT = 'assistant'
ROLE_CHOICES = (('owner', 'Owner'), ('teaching', 'Professor/Teacher'), ('assistant', 'Assistant'), ('student', 'Student'))
ROLE_OWNER = 'owner'
ROLE_STAFF_CHOICES = (('owner', 'Owner'), ('teaching', 'Professor/Teacher'), ('assistant', 'Assistant'))
ROLE_STUDENT = 'student'
ROLE_TEACHING = 'teaching'
column_prefix = 'CR_'
course

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 a ForwardManyToOneDescriptor instance.

course_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

delete(using=None, keep_parents=False)[소스]
get_next_by_joined_at(**morekwargs)
get_previous_by_joined_at(**morekwargs)
get_type_display(**morekwargs)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

joined_at

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>
save(force_insert=False, force_update=False, using=None, update_fields=None)[소스]

Saves the current instance. Override this in a subclass if you want to control the saving process.

The 'force_insert' and 'force_update' parameters can be used to insist that the "save" must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.

type

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.parent is a ForwardManyToOneDescriptor instance.

user_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class classroom.models.CourseInfo(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

수업(Course)의 상세 정보

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

column_prefix = 'CI_'
course

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 a ForwardOneToOneDescriptor instance.

course_id

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.

name

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>
save(force_insert=False, force_update=False, using=None, update_fields=None)[소스]

Saves the current instance. Override this in a subclass if you want to control the saving process.

The 'force_insert' and 'force_update' parameters can be used to insist that the "save" must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.

short_description

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

slug

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.

summary

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

summary_format

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Bases: django.db.models.base.Model

수업 초대 링크

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

clean()[소스]

Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field defined by NON_FIELD_ERRORS.

column_prefix = 'CIL_'
course

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 a ForwardManyToOneDescriptor instance.

course_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

expired_at

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_expired_at(**morekwargs)
get_previous_by_expired_at(**morekwargs)
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>
save(force_insert=False, force_update=False, using=None, update_fields=None)[소스]

Saves the current instance. Override this in a subclass if you want to control the saving process.

The 'force_insert' and 'force_update' parameters can be used to insist that the "save" must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.

slug

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class classroom.models.CourseMeta(*args, **kwargs)[소스]

Bases: django.db.models.base.Model, classroom.models.mixins.MetadataMixin

수업(Course)의 제어 정보(Meta)

ASSIGNMENT_END = 'done'
ASSIGNMENT_EXIST = 'exist'
ASSIGNMENT_NOT_EXIST = 'not_exist'
ASSIGNMENT_PROGRESS = 'progress'
ASSIGNMENT_STATUS_CHOICES = (('not_exist', 'Not exist'), ('exist', 'Exist'), ('progress', 'Progress'), ('done', 'End'))
exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

assignment

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

begin

beginFrom의 별칭 :return:

clean()[소스]

Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field defined by NON_FIELD_ERRORS.

column_prefix = 'CM_'
course

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 a ForwardOneToOneDescriptor instance.

course_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

created_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

display_order

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

end

endTo의 별칭 :return:

get_assignment_display(**morekwargs)
get_classeek_id()[소스]
get_classeek_type()[소스]
get_course()[소스]
get_description()[소스]
get_name()[소스]
get_next_by_created_at(**morekwargs)
get_next_by_modified_at(**morekwargs)
get_path()[소스]
get_previous_by_created_at(**morekwargs)
get_previous_by_modified_at(**morekwargs)
git_ref

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 a ReverseOneToOneDescriptor instance.

is_open_course()[소스]
modified_at

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>
save(force_insert=False, force_update=False, using=None, update_fields=None)[소스]

Saves the current instance. Override this in a subclass if you want to control the saving process.

The 'force_insert' and 'force_update' parameters can be used to insist that the "save" must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.

students

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class classroom.models.CourseGitlabReference(*args, **kwargs)[소스]

Bases: classroom.models.mixins.GitlabGroupRefMixin, django.db.models.base.Model

GIT 저장소의 그룹에 대응 참조

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

column_prefix = 'CGR_'
compare_and_update(api)[소스]
course
data

A placeholder class that provides a way to set the attribute on the model.

metadata

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 a ForwardOneToOneDescriptor instance.

metadata_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 classroom.models.Assignment(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

과제 모델

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

STATUS_CHOICES = (('hidden', '숨김'), ('dormant', '예정'), ('progress', '진행'), ('closed', '종료'))
STATUS_CLOSED = 'closed'
STATUS_DORMANT = 'dormant'
STATUS_HIDDEN = 'hidden'
STATUS_PROGRESS = 'progress'
autoops

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 a ReverseOneToOneDescriptor instance.

clean()[소스]

Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field defined by NON_FIELD_ERRORS.

column_prefix = 'A_'
course

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 a ForwardManyToOneDescriptor instance.

course_id

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.

metadata

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 a ReverseOneToOneDescriptor instance.

name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <classroom.models.assignments.AssignmentManager object>
public

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

readme

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

readme_format

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

repository

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 a ReverseOneToOneDescriptor instance.

short_description

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

slug

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.

status
students

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 and topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

user_map

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

class classroom.models.AssignmentMeta(*args, **kwargs)[소스]

Bases: django.db.models.base.Model, classroom.models.mixins.MetadataMixin

과제(Assignment)의 제어 정보(Meta)

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

artifacts_size

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

assignment

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 a ForwardOneToOneDescriptor instance.

assignment_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

author
begin

beginFrom의 별칭 :return:

builds

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

clean()[소스]

Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field defined by NON_FIELD_ERRORS.

column_prefix = 'AM_'
commits

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

created_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

display_order

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

end

endTo의 별칭 :return:

get_classeek_id()[소스]
get_classeek_type()[소스]
get_course()[소스]
get_description()[소스]
get_name()[소스]
get_next_by_created_at(**morekwargs)
get_next_by_modified_at(**morekwargs)
get_next_by_updated_at(**morekwargs)
get_path()[소스]
get_previous_by_created_at(**morekwargs)
get_previous_by_modified_at(**morekwargs)
get_previous_by_updated_at(**morekwargs)
git_ref

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 a ReverseOneToOneDescriptor instance.

is_open_course()[소스]
modified_at

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>
save(force_insert=False, force_update=False, using=None, update_fields=None)[소스]

Saves the current instance. Override this in a subclass if you want to control the saving process.

The 'force_insert' and 'force_update' parameters can be used to insist that the "save" must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.

storage_size

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

students

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

submits

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

updated_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class classroom.models.AssignmentRepository(*args, **kwargs)[소스]

Bases: django.db.models.base.Model, classroom.models.mixins.GitlabProjectRefMixin

과제 저장소(템플릿 저장소)

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

assignment

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 a ForwardOneToOneDescriptor instance.

assignment_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

branch

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

clean()[소스]

Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field defined by NON_FIELD_ERRORS.

column_prefix = 'AR_'
commit_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data

A placeholder class that provides a way to set the attribute on the model.

http_url_to_repo
objects = <django.db.models.manager.Manager object>
origin

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

ssh_url_to_repo
upload

The descriptor for the file attribute on the model instance. Returns a FieldFile when accessed so you can do stuff like:

>>> from myapp.models import MyModel
>>> instance = MyModel.objects.get(pk=1)
>>> instance.file.size

Assigns a file object on assignment so you can do:

>>> with open('/path/to/hello.world', 'r') as f:
...     instance.file = File(f)
upload_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

url

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

web_url
class classroom.models.AssignmentAutoOp(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

과제 자동화 스크립트

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

assignment

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 a ForwardOneToOneDescriptor instance.

assignment_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

column_prefix = 'AAO_'
objects = <django.db.models.manager.Manager object>
script

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

script_format

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class classroom.models.AssignmentUser(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

과제 수행자

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

assignment

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 a ForwardManyToOneDescriptor instance.

assignment_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

column_prefix = 'AU_'
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

locked

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>
repository

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 a ReverseOneToOneDescriptor instance.

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.parent is a ForwardManyToOneDescriptor instance.

user_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class classroom.models.AssignmentUserRepository(*args, **kwargs)[소스]

Bases: django.db.models.base.Model, classroom.models.mixins.GitlabProjectRefMixin

과제 수행자의 저장소

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

assignment_map

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 a ForwardOneToOneDescriptor instance.

assignment_map_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

builds

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

column_prefix = 'AUR_'
commit_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data

A placeholder class that provides a way to set the attribute on the model.

http_url_to_repo
last_build_status()[소스]
last_submit()[소스]
last_submitted_at()[소스]
memo

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>
repo

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

ssh_url_to_repo
submissions

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

user
web_url
class classroom.models.AssignmentBuild(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

과제 빌드 결과

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

STATUS_CANCEL = ('cancelled',)
STATUS_CHOICES = ((('passed',), 'Passed'), (('failure',), 'Failure'), (('cancelled',), 'Cancelled'), (('running',), 'Running'), (('pending',), 'Pending'))
STATUS_FAILURE = ('failure',)
STATUS_PASSED = ('passed',)
STATUS_PENDING = ('pending',)
STATUS_RUNNING = ('running',)
column_prefix = 'AB_'
end_time

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_requested_at(**morekwargs)
get_previous_by_requested_at(**morekwargs)
get_status_display(**morekwargs)
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>
ref

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

repository

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 a ForwardManyToOneDescriptor instance.

repository_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

requested_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

start_time

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

status

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

submitted

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 a ReverseOneToOneDescriptor instance.

class classroom.models.AssignmentSubmission(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

과제 제출 모델

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

build

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 a ForwardOneToOneDescriptor instance.

build_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

column_prefix = 'AS_'
commit_id

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_submitted_at(**morekwargs)
get_previous_by_submitted_at(**morekwargs)
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>
repository

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 a ForwardManyToOneDescriptor instance.

repository_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

submitted_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class classroom.models.AssignmentGitlabReference(metadata, data)[소스]

Bases: django.db.models.base.Model, classroom.models.mixins.GitlabGroupRefMixin

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

VISIBILITY_CHOICE = (('public', '모두에게 공개'), ('private', '비공개 (등록된 구성원에게만 보임)'), ('internal', '회원에게 공개'))
VISIBILITY_INTERNAL = 'internal'
VISIBILITY_PRIVATE = 'private'
VISIBILITY_PUBLIC = 'public'
assignment
column_prefix = 'AGR_'
course
data

A placeholder class that provides a way to set the attribute on the model.

metadata

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 a ForwardOneToOneDescriptor instance.

metadata_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 classroom.models.Budget(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

예산

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

billings

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

column_prefix = 'BG_'
courses

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

end_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

granted_users
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

limitation

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

manager_users
name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <classroom.models.billings.BudgetManager object>
payment

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 a ForwardManyToOneDescriptor instance.

payment_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

roles

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

spends
start_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

users
class classroom.models.CreditCard(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

신용카드

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

alias

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

card_number

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

column_prefix = 'CC_'
expiration

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.

name_on_card

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>
payments

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

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.parent is a ForwardManyToOneDescriptor instance.

user_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class classroom.models.Billing(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

영수증(지불 정보)

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

amount

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

budget

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 a ForwardManyToOneDescriptor instance.

budget_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

column_prefix = 'BI_'
created_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data

A placeholder class that provides a way to set the attribute on the model.

get_next_by_created_at(**morekwargs)
get_previous_by_created_at(**morekwargs)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <classroom.models.billings.BillingManager object>
class classroom.models.Payment(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

결제/지불 방법

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

PAYMENT_CREDITCARD = 'creditcard'
PAYMENT_METHOD_CHOICES = (('creditcard', '신용카드/직불카드'), ('prepaid', '선불충전'))
PAYMENT_PREPAID = 'prepaid'
associated_budgets

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

card

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 a ForwardManyToOneDescriptor instance.

card_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

column_prefix = 'PM_'
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <classroom.models.billings.PaymentManager object>
prepaid

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 a ForwardManyToOneDescriptor instance.

prepaid_id

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.parent is a ForwardManyToOneDescriptor instance.

user_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class classroom.models.Prepaid(*args, **kwargs)[소스]

Bases: django.db.models.base.Model

선불 충전

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

column_prefix = 'PP'
credits

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>
payments

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 a ReverseManyToOneDescriptor instance.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

user

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 a ForwardOneToOneDescriptor instance.

user_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.