DEV Community

Discussion on: Deploying a Django project on AWS Lambda using Serverless (Part 1)

Collapse
 
sumankanukollu profile image
sumankanukollu

I enjoyed reading this article.

Small correction is required in "production.py" file like mentioned in below lines: (Because our StaticRootS3Boto3Storage and MediaRootS3Boto3Storage classes placed in storages.py file

STATICFILES_STORAGE = "django_aws_lambda.utils.storages.StaticRootS3Boto3Storage"
DEFAULT_FILE_STORAGE = "django_aws_lambda.utils.storages.MediaRootS3Boto3Storage"
Enter fullscreen mode Exit fullscreen mode