eonvelope.models package

eonvelope.models package containing models for the Eonvelope database.

class eonvelope.models.UserProfile(*args, **kwargs)[source]

Bases: Model

Database model for the profile data of a user.

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.

paperless_url

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

paperless_api_key

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

paperless_tika_enabled

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

immich_url

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

immich_api_key

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

nextcloud_url

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

nextcloud_username

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

nextcloud_password

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

nextcloud_addressbook

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

__str__()[source]

Returns a string representation of the model data.

Return type:

str

Returns:

The string representation of the profile, using user.

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

_meta = <Options for UserProfile>
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>
user_id

Submodules