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 |
---|---|---|---|---|
|
ForeignKey |
addon_id |
integer UNSIGNED |
addon |
|
PositiveAutoField |
id |
integer UNSIGNED AUTO_INCREMENT |
id |
|
BooleanField |
listed |
bool |
Listed |
|
SmallIntegerField |
role |
smallint |
role |
|
ForeignKey |
user_id |
integer |
user |
Relations
Field Name |
Field Type |
Database Column |
Database Type |
Related Model |
Related Name |
---|---|---|---|---|---|
|
ForeignKey |
addon_id |
integer UNSIGNED |
addons.Addon |
addonuserpendingconfirmation_set |
|
ForeignKey |
user_id |
integer |
users.UserProfile |
addonuserpendingconfirmation_set |
fields_reverse_relation=[]
Methods
Other Methods
Method Name |
Signature |
---|---|
|
|
|
|
|
|
|
|
|
|
Private Methods
Method Name |
Signature |
---|---|
|
|
|
|
|
|
!!! THIS DOCUMENT WAS AUTOGENERATED ON 2025-07-09 !!!