swh.web.common.models module¶
-
class
swh.web.common.models.
SaveAuthorizedOrigin
(*args, **kwargs)[source]¶ Bases:
django.db.models.base.Model
Model table holding origin urls authorized to be loaded into the archive.
-
url
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
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>¶
-
Bases:
django.db.models.base.Model
Model table holding origin urls not authorized to be loaded into the archive.
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Bases:
django.core.exceptions.ObjectDoesNotExist
Bases:
django.core.exceptions.MultipleObjectsReturned
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
class
swh.web.common.models.
SaveOriginRequest
(*args, **kwargs)[source]¶ Bases:
django.db.models.base.Model
Model table holding all the save origin requests issued by users.
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
request_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
visit_type
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
origin_url
¶ 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.
-
loading_task_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
visit_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
loading_task_status
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
get_loading_task_status_display
(*, field=<django.db.models.fields.TextField: loading_task_status>)¶
-
get_next_by_request_date
(*, field=<django.db.models.fields.DateTimeField: request_date>, is_next=True, **kwargs)¶
-
get_previous_by_request_date
(*, field=<django.db.models.fields.DateTimeField: request_date>, is_next=False, **kwargs)¶
-
get_status_display
(*, field=<django.db.models.fields.TextField: status>)¶
-
objects
= <django.db.models.manager.Manager object>¶
-