diff --git a/.gitignore b/.gitignore index c1f993a..997aaab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ # Created by https://www.toptal.com/developers/gitignore/api/django # Edit at https://www.toptal.com/developers/gitignore?templates=django +*.swp + ### Django ### *.log *.pot @@ -13,7 +15,7 @@ media # 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. -# /staticfiles/ +staticfiles/ ### Django.Python Stack ### # Byte-compiled / optimized / DLL files diff --git a/xivpet/settings.py b/xivpet/settings.py index dbd2def..d89e464 100644 --- a/xivpet/settings.py +++ b/xivpet/settings.py @@ -117,6 +117,7 @@ USE_TZ = True # https://docs.djangoproject.com/en/5.0/howto/static-files/ STATIC_URL = 'static/' +STATIC_ROOT = 'staticfiles/' # Default primary key field type # https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field