addons.AddonUserPendingConfirmation

Model Info

Key

Value

Model Name

AddonUserPendingConfirmation

Verbose Name

addon user pending confirmation

Verbose Name Plural

addon user pending confirmations

Docstring

AddonUserPendingConfirmation(id, addon, user, role, listed)

Is Abstract

False

Is Proxy

False

Is Managed

True

Ordering

[]

Permissions

[]

Default Permissions

(‘add’, ‘change’, ‘delete’, ‘view’)

Indexes

[]

Constraints

[<UniqueConstraint: fields=(‘addon’, ‘user’) name=’addons_users_pending_confirmation_addon_id_user_id_38e3bb32_uniq’>]

Database Table

addons_users_pending_confirmation

Base Manager

None

Default Manager

None

File

/data/olympia/src/olympia/addons/models.py

Starting Line Number

2310

Method Resolution Order

(<class ‘olympia.addons.models.AddonUserPendingConfirmation’>, <class ‘olympia.amo.models.OnChangeMixin’>, <class ‘olympia.amo.models.SaveUpdateMixin’>, <class ‘django.db.models.base.Model’>, <class ‘django.db.models.utils.AltersData’>, <class ‘object’>)

Fields

Field Name

Field Type

Database Column

Database Type

Verbose Name

addon

ForeignKey

addon_id

integer UNSIGNED

addon

id (pk)

PositiveAutoField

id

integer UNSIGNED AUTO_INCREMENT

id

listed

BooleanField

listed

bool

Listed

role

SmallIntegerField

role

smallint

role

user

ForeignKey

user_id

integer

user

Relations

Field Name

Field Type

Database Column

Database Type

Related Model

Related Name

addon

ForeignKey

addon_id

integer UNSIGNED

addons.Addon

addonuserpendingconfirmation_set

user

ForeignKey

user_id

integer

users.UserProfile

addonuserpendingconfirmation_set

fields_reverse_relation=[]

Methods

Other Methods

Method Name

Signature

get_role_display

(self, *, field=<django.db.models.fields.SmallIntegerField: role>)

get_unfiltered_manager

()

on_change

(callback)

reload

(self)

update

(self, **kwargs)

Private Methods

Method Name

Signature

_get_field_value_map

(self, meta, exclude=None)

_reset_initial_attrs

(self, attrs=None)

_send_changes

(self, old_attr, new_attr_kw)


!!! THIS DOCUMENT WAS AUTOGENERATED ON 2025-07-09 !!!