How to Install and Uninstall python3-django-polymorphic Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

1. Install "python3-django-polymorphic" package

Please follow the guidelines below to install python3-django-polymorphic on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python3-django-polymorphic

2. Uninstall "python3-django-polymorphic" package

Please follow the guidance below to uninstall python3-django-polymorphic on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python3-django-polymorphic $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-django-polymorphic package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python3-django-polymorphic
Priority: optional
Section: universe/python
Installed-Size: 170
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: django-polymorphic
Version: 0.8.1-1
Depends: python3-django
Suggests: python-django-polymorphic-doc
Filename: pool/universe/d/django-polymorphic/python3-django-polymorphic_0.8.1-1_all.deb
Size: 33952
MD5sum: 43a1294c6a7164e0e7f03415b5902bd4
SHA1: 38d7e793225afaef3bbb2e76e03905802c07a05e
SHA256: 648c8b649829c526966144bb933667357aa226bac72b1995d4a29e77ed2c81e1
Description-en: Seamless Polymorphic Inheritance for Django Models (Python3 version)
Django-polymorphic simplifies using inherited models in Django projects. When a
query is made at the base model, the inherited model classes are returned.
.
Features:
* Full admin integration.
* ORM integration:
+ Support for ForeignKey, ManyToManyField, OneToOneField descriptors.
+ Support for proxy models.
+ Filtering/ordering of inherited models (ArtProject___artist).
+ Filtering model types: instance_of(...) and not_instance_of(...)
+ Combining querysets of different models (qs3 = qs1 | qs2)
+ Support for custom user-defined managers.
* Uses the minimum amount of queries needed to fetch the inherited models.
* Disabling polymorphic behavior when needed.
.
This package contains the Python 3 version of the library.
Description-md5: de045775fee62acc4bc6a6be237f457c
Homepage: https://github.com/chrisglass/django_polymorphic
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu