How to Install and Uninstall python2-dj-database-url Package on openSUSE Leap

Last updated: November 23,2024

1. Install "python2-dj-database-url" package

In this section, we are going to explain the necessary steps to install python2-dj-database-url on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-dj-database-url

2. Uninstall "python2-dj-database-url" package

Here is a brief guide to show you how to uninstall python2-dj-database-url on openSUSE Leap:

$ sudo zypper remove python2-dj-database-url

3. Information about the python2-dj-database-url package on openSUSE Leap

Information for package python2-dj-database-url:
------------------------------------------------
Repository : Main Repository
Name : python2-dj-database-url
Version : 0.5.0-bp153.1.15
Arch : noarch
Vendor : openSUSE
Installed Size : 17,4 KiB
Installed : No
Status : not installed
Source package : python-dj-database-url-0.5.0-bp153.1.15.src
Summary : Utility to use database URLs in Django applications
Description :
This Django utility allows you to utilize the 12factor inspired
DATABASE_URL environment variable to configure Django applications.
The `dj_database_url.config` method returns a Django database connection
dictionary, populated with all the data specified in your URL. There is
also a `conn_max_age` argument to easily enable Django's connection pool.
If you'd rather not use an environment variable, you can pass a URL in directly
instead to ``dj_database_url.parse``.
Supported Databases
-------------------
Support currently exists for PostgreSQL, PostGIS, MySQL, MySQL (GIS),
Oracle, Oracle (GIS), and SQLite.