Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update django.rst #492

Closed
wants to merge 2 commits into from
Closed

Update django.rst #492

wants to merge 2 commits into from

Conversation

Lodimup
Copy link

@Lodimup Lodimup commented Apr 26, 2023

This line should use os.path.join() instead of /

@evansd
Copy link
Owner

evansd commented Apr 26, 2023

I'm not sure this is right. BASE_DIR is a pathlib.Path instance in modern Django, so using the / operator is appropriate.

@Lodimup
Copy link
Author

Lodimup commented Apr 26, 2023

You're right. it is actually is pathlib.Path using / is appropriate.

@Lodimup Lodimup closed this Apr 26, 2023
@adamchainz
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants