django-decouple
使用.ini或者.env來(lái)保存項(xiàng)目運(yùn)行時(shí)用到的配置信息
- 安裝:pip install python-decouple
dj-database-url
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.
- 安裝:pip install dj-database-url
unipath
Unipath is an object-oriented front end to the file/directory functions scattered throughout several Python library modules. It’s based on Jason Orendorff’s path.py but has a friendlier API and higher-level features. Unipath is stable, well-tested, and has been used in production since 2008. It runs on Python 2.6+ and 3.3+.
- 安裝:pip install Unipath