is_django_path
Return True if the given file path is nested under Django.
def is_django_path(
path: string | Path
) - > boolean
Return True if the given file path is nested under Django.
Parameters
| Name | Type | Description |
|---|---|---|
| path | `string | Path` |
Returns
| Type | Description |
|---|---|
boolean | True if the provided path is located within the Django package directory structure, False otherwise |