diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a42d98..483ce67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.0.18] - 2023-03-03 + +### Fixed + +- Check file size according to the subscription [@AivGitHub](https://github.com/AivGitHub/). + ## [0.0.17] - 2023-03-03 ### Added diff --git a/accounts/models.py b/accounts/models.py index 96fcdfa..3b3c2a0 100644 --- a/accounts/models.py +++ b/accounts/models.py @@ -27,7 +27,7 @@ MAGIC_MIME = magic.Magic(mime=True) DEFAULT_MAX_FILE_SIZE: int = 10485760 # 10 * 2 ^ 20 = 10 MB -DEFAULT_MAX_STORAGE_SIZE: int = 10737418240 # 10 * 2 ^ 30 = 10 GB +DEFAULT_MAX_STORAGE_SIZE: int = 2147483648 # 2 * 2 ^ 30 = 2 GB class User(AbstractBaseUser, PermissionsMixin):