Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Use portable code in lieue of OS-specific code #23

Open
patryk-tech opened this issue Aug 5, 2020 · 0 comments
Open

Use portable code in lieue of OS-specific code #23

patryk-tech opened this issue Aug 5, 2020 · 0 comments

Comments

@patryk-tech
Copy link
Contributor

E.g. pages.py in the save method:

filepath = f"{settings.MEDIA_ROOT}/{self.folder}/{self.filename}"

Use os.path.join or Path instead.

@patryk-tech patryk-tech added this to Pre-release in DjangoCities Aug 5, 2020
@kfields kfields mentioned this issue Aug 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
DjangoCities
Pre-release
Development

No branches or pull requests

1 participant