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

Last updated: May 23,2024

1. Install "python-django-polymorphic" package

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

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

2. Uninstall "python-django-polymorphic" package

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

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

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

Package: python-django-polymorphic
Priority: optional
Section: universe/python
Installed-Size: 173
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: django-polymorphic
Version: 0.8.1-1
Depends: python-django (>= 1.4), python-pkg-resources, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Suggests: python-django-polymorphic-doc
Filename: pool/universe/d/django-polymorphic/python-django-polymorphic_0.8.1-1_all.deb
Size: 34088
MD5sum: 7950de4a855394332f4d8aa4039ac797
SHA1: dd9db12accd478d3c14a2c909592b59b3c4fe05e
SHA256: 8ada2489c5a51b94da3f86f4a3083d8eeb8b1a872a87ba89ba6232fa971b232a
Description-en: Seamless Polymorphic Inheritance for Django Models
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.
Description-md5: 0fbabc6db3be5aca65b2a52d43bb9c3e
Homepage: https://github.com/chrisglass/django_polymorphic
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu