Skip to content

Commit

Permalink
Automatically append slashes to URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyGrant committed May 24, 2023
1 parent 97d33dc commit 47ff4dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OpenSite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
DEBUG = True

ALLOWED_HOSTS = ['*']
HTML_MINIFY = True

HTML_MINIFY = True
APPEND_SLASH = True

DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

Expand Down

0 comments on commit 47ff4dd

Please sign in to comment.