Django Book 翻译
菜单>:
TOC
返回
原文:
``DATABASE_PORT`` tells Django which port to use when connecting to your database. If youre using SQLite, leave this blank. Otherwise, if you leave this blank, the underlying database adapter will use whichever port is default for your given database server. In most cases, the default port is fine, so you can leave this blank.
翻译:
``DATABASE_PORT`` 告诉 Django 连接数据库时使用哪个端口。如果用SQLite,空白即可。其他情况下,如果将该项设置保留空白,底层数据库适配器将会连接所给定数据库服务器的缺省端口。在多数情况下,使用缺省端口就可以了,因此你可以将该项设置保留空白。
备注:
译者: