# versions.ApplicationsVersions ## Model Info | Key | Value | |---|-----| | Model Name | ApplicationsVersions | | Verbose Name | applications versions | | Verbose Name Plural | applications versionss | | Docstring | <p>ApplicationsVersions(id, application, version, min, max, originated\_from)</p> | | Is Abstract | False | | Is Proxy | False | | Is Managed | True | | Ordering | [] | | Permissions | [] | | Default Permissions | ('add', 'change', 'delete', 'view') | | Indexes | [] | | Constraints | [<UniqueConstraint: fields=('application', 'version') name='application_id'>] | | Database Table | applications_versions | | Base Manager | None | | Default Manager | None | | File | /data/olympia/src/olympia/versions/models.py | | Starting Line Number | 1457 | | Method Resolution Order | (<class 'olympia.versions.models.ApplicationsVersions'>, <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 | |----------|----------|---------------|-------------|------------| | `application` | PositiveIntegerField | application_id | integer UNSIGNED | application | | `id (pk)` | PositiveAutoField | id | integer UNSIGNED AUTO_INCREMENT | id | | `max` | ForeignKey | max | integer UNSIGNED | max | | `min` | ForeignKey | min | integer UNSIGNED | min | | `originated_from` | PositiveSmallIntegerField | originated_from | smallint UNSIGNED | originated from | | `version` | ForeignKey | version_id | integer UNSIGNED | version | ## Relations | Field Name | Field Type | Database Column | Database Type | Related Model | Related Name | |----------|----------|---------------|-------------|-------------|------------| | `max` | ForeignKey | max | integer UNSIGNED | applications.AppVersion | max_set | | `min` | ForeignKey | min | integer UNSIGNED | applications.AppVersion | min_set | | `version` | ForeignKey | version_id | integer UNSIGNED | versions.Version | apps | fields_reverse_relation=[] ## Methods ### Other Methods | Method Name | Signature | |-----------|---------| | `get_application_display` | `(self)` | | `get_default_maximum_appversion` | `(self)` | | `get_default_minimum_appversion` | `(self)` | | `get_latest_application_version` | `(self)` | | `get_originated_from_display` | `(self, *, field=<django.db.models.fields.PositiveSmallIntegerField: originated_from>)` | | `version_range_contains_forbidden_compatibility` | `(self)` | ### Private Methods | Method Name | Signature | |-----------|---------| | `_get_field_value_map` | `(self, meta, exclude=None)` | --- !!! THIS DOCUMENT WAS *AUTOGENERATED* ON 2025-08-02 !!!