How To Install python-django-ajax-selects on CentOS 7
Introduction
In this tutorial we learn how to install python-django-ajax-selects on CentOS 7.
What is python-django-ajax-selects
Enables editing of ForeignKey, ManyToMany and simple text fields using the Autocomplete - jQuery plugin. django-ajax-selects will work in any normal form as well as in the admin. The user is presented with a text field. They type a search term or a few letters of a name they are looking for, an ajax request is sent to the server, a search channel returns possible results. Results are displayed as a drop down menu. When an item is selected it is added to a display area just below the text field.
We can use yum or dnf to install python-django-ajax-selects on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-django-ajax-selects.
Install python-django-ajax-selects on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install python-django-ajax-selects using yum by running the following command:
sudo yum -y install python-django-ajax-selects
Install python-django-ajax-selects on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install python-django-ajax-selects using dnf by running the following command:
sudo dnf -y install python-django-ajax-selects
How To Uninstall python-django-ajax-selects on CentOS 7
To uninstall only the python-django-ajax-selects package we can use the following command:
sudo dnf remove python-django-ajax-selects
References
Summary
In this tutorial we learn how to install python-django-ajax-selects on CentOS 7 using yum and dnf.