intranet.apps.lostfound package¶
Submodules¶
intranet.apps.lostfound.admin module¶
intranet.apps.lostfound.apps module¶
intranet.apps.lostfound.forms module¶
-
class
intranet.apps.lostfound.forms.
FoundItemForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]¶ Bases:
django.forms.models.ModelForm
-
declared_fields
= {}¶
-
-
class
intranet.apps.lostfound.forms.
LostItemForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]¶ Bases:
django.forms.models.ModelForm
-
declared_fields
= {}¶
-
intranet.apps.lostfound.models module¶
-
class
intranet.apps.lostfound.models.
FoundItem
(id, user, title, description, found, added, retrieved)[source]¶ Bases:
django.db.models.base.Model
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
added
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
description
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
found
¶ 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_added
(*, field=<django.db.models.fields.DateTimeField: added>, is_next=True, **kwargs)¶
-
get_next_by_found
(*, field=<django.db.models.fields.DateField: found>, is_next=True, **kwargs)¶
-
get_previous_by_added
(*, field=<django.db.models.fields.DateTimeField: added>, is_next=False, **kwargs)¶
-
get_previous_by_found
(*, field=<django.db.models.fields.DateField: found>, 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>¶
-
retrieved
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
title
¶ 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 aForwardManyToOneDescriptor
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.
-
exception
-
class
intranet.apps.lostfound.models.
LostItem
(id, user, title, description, last_seen, added, found)[source]¶ Bases:
django.db.models.base.Model
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶
-
added
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
description
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
found
¶ 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_added
(*, field=<django.db.models.fields.DateTimeField: added>, is_next=True, **kwargs)¶
-
get_next_by_last_seen
(*, field=<django.db.models.fields.DateField: last_seen>, is_next=True, **kwargs)¶
-
get_previous_by_added
(*, field=<django.db.models.fields.DateTimeField: added>, is_next=False, **kwargs)¶
-
get_previous_by_last_seen
(*, field=<django.db.models.fields.DateField: last_seen>, 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.
-
last_seen
¶ 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>¶
-
title
¶ 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 aForwardManyToOneDescriptor
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.
-
exception