From f33ebf9965dba0471823d8cdd950211a171936ee Mon Sep 17 00:00:00 2001 From: Paul McLanahan Date: Fri, 21 Nov 2025 09:14:53 -0500 Subject: [PATCH] Fix incorrect use of pathlib.Path method in README Path objects have no `child()` method in the pathlib module of the standard library. The method to use is `joinpath()`, or the division operator which also joins paths. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 4184536..395119e 100644 --- a/README.rst +++ b/README.rst @@ -179,7 +179,7 @@ and `dj-database-url `_. DATABASES = { 'default': config( 'DATABASE_URL', - default='sqlite:///' + BASE_DIR.child('db.sqlite3'), + default='sqlite:///' + BASE_DIR.joinpath('db.sqlite3'), cast=db_url ) }