Compare commits

...

2 commits

Author SHA1 Message Date
8483b72104
static 2024-05-09 18:12:26 +10:00
dd85583422
static 2024-05-09 18:10:47 +10:00
2 changed files with 5 additions and 2 deletions

4
.gitignore vendored
View file

@ -1,6 +1,8 @@
# Created by https://www.toptal.com/developers/gitignore/api/django # Created by https://www.toptal.com/developers/gitignore/api/django
# Edit at https://www.toptal.com/developers/gitignore?templates=django # Edit at https://www.toptal.com/developers/gitignore?templates=django
*.swp
### Django ### ### Django ###
*.log *.log
*.pot *.pot
@ -13,7 +15,7 @@ media
# If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/ # If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/
# in your Git repository. Update and uncomment the following line accordingly. # in your Git repository. Update and uncomment the following line accordingly.
# <django-project-name>/staticfiles/ staticfiles/
### Django.Python Stack ### ### Django.Python Stack ###
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files

View file

@ -116,7 +116,8 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/5.0/howto/static-files/ # https://docs.djangoproject.com/en/5.0/howto/static-files/
STATIC_URL = 'static/' STATIC_URL = 'https://s3.aly.pet/xiv.pet/static/'
STATIC_ROOT = 'staticfiles/'
# Default primary key field type # Default primary key field type
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field