add media files to production compose

This commit is contained in:
godd0t
2023-05-10 13:19:19 +02:00
parent 1ae2664984
commit 70a802350a
25 changed files with 129 additions and 123 deletions

View File

@@ -6,7 +6,7 @@ import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project_name.settings')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project_name.settings")
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
@@ -18,5 +18,5 @@ def main():
execute_from_command_line(sys.argv)
if __name__ == '__main__':
if __name__ == "__main__":
main()