In the Quick Start docs page under the Model section, the example code incorrectly passes a name kwarg uploads:
upload = FileUpload(uploads=os.path.join(BASE_DIR, "static", "uploads"))
The correct argument name is uploads_dir. So the line should be:
upload = FileUpload(uploads_dir=os.path.join(BASE_DIR, "static", "uploads"))
OR
upload = FileUpload(os.path.join(BASE_DIR, "static", "uploads"))
Are source code files for the docs at fastapi-admin-docs.long2ice.io available somewhere so I could issue a direct pull request to the erroneous docs line?
In the Quick Start docs page under the Model section, the example code incorrectly passes a name kwarg
uploads:The correct argument name is
uploads_dir. So the line should be:OR
Are source code files for the docs at fastapi-admin-docs.long2ice.io available somewhere so I could issue a direct pull request to the erroneous docs line?