Skip to content

Commit

Permalink
Merge pull request #20 from SADiLaR/feature/media-settings
Browse files Browse the repository at this point in the history
Media settings
  • Loading branch information
friedelwolff authored Apr 18, 2024
2 parents ed2354d + 8feb1c1 commit cf24310
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ env.bak/
venv.bak/
app/static_files/
/app/documents/
app/media/
5 changes: 5 additions & 0 deletions app/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@

USE_TZ = True

# Media files (uploads)

MEDIA_ROOT = BASE_DIR / "media"
MEDIA_URL = "media/"

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/5.0/howto/static-files/

Expand Down

0 comments on commit cf24310

Please sign in to comment.