File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 6060 "database.user" : "DJ_USER" ,
6161 "database.password" : "DJ_PASS" ,
6262 "database.port" : "DJ_PORT" ,
63- "database.schema_prefix " : "DJ_SCHEMA_PREFIX " ,
63+ "database.database_prefix " : "DJ_DATABASE_PREFIX " ,
6464 "database.create_tables" : "DJ_CREATE_TABLES" ,
6565 "loglevel" : "DJ_LOG_LEVEL" ,
6666}
@@ -187,11 +187,11 @@ class DatabaseSettings(BaseSettings):
187187 port : int = Field (default = 3306 , validation_alias = "DJ_PORT" )
188188 reconnect : bool = True
189189 use_tls : bool | None = None
190- schema_prefix : str = Field (
190+ database_prefix : str = Field (
191191 default = "" ,
192- validation_alias = "DJ_SCHEMA_PREFIX " ,
193- description = "Project-specific prefix for schema names. "
194- "Not automatically applied; use dj.config.database.schema_prefix when creating schemas." ,
192+ validation_alias = "DJ_DATABASE_PREFIX " ,
193+ description = "Prefix for database/ schema names. "
194+ "Not automatically applied; use dj.config.database.database_prefix when creating schemas." ,
195195 )
196196 create_tables : bool = Field (
197197 default = True ,
Original file line number Diff line number Diff line change 11# version bump auto managed by Github Actions:
22# label_prs.yaml(prep), release.yaml(bump), post_release.yaml(edit)
33# manually set this version will be eventually overwritten by the above actions
4- __version__ = "2.0.0a24 "
4+ __version__ = "2.0.0a25 "
You can’t perform that action at this time.
0 commit comments