freebsd-ports/www/py-dj-database-url/pkg-descr
Kai Knoblich 5042b00226 www/py-dj-database-url: Add new port
This simple Django utility allows you to utilize the 12factor inspired
DATABASE_URL environment variable to configure your Django application.

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.

WWW: https://github.com/kennethreitz/dj-database-url
2022-02-20 11:42:42 +01:00

16 lines
660 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This simple Django utility allows you to utilize the 12factor inspired
DATABASE_URL environment variable to configure your Django application.
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 Djangos connection pool.
If youd 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.
WWW: https://github.com/kennethreitz/dj-database-url