Skip to content

Commit

Permalink
Make Trial_period customizable
Browse files Browse the repository at this point in the history
Close #98
  • Loading branch information
sebastienbarbier committed Nov 27, 2023
1 parent 44724a7 commit f244936
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ See for sample https://raw.githubusercontent.com/favoloso/conventional-changelog
-->

## [1.5.0] - 2023-11-DD
### ✨ Feature
- Make **trial period** customizable (#98)
### 🔒 Security
- Migrate to Django 4.2+ (#71)
- Migrate to **Django 4.2+** (#71)

## [1.4.0] - 2023-06-19
### 🛠 Improvements
Expand Down
3 changes: 2 additions & 1 deletion seven23/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
ALLOWED_HOSTS = ['*']

SAAS = os.environ.get('SAAS', 'false').lower() == 'true'
TRIAL_PERIOD = 30
# Get env TRIAL_PERIOD and set to integer and default value is 7
TRIAL_PERIOD = int(os.environ.get('TRIAL_PERIOD', 7))
STRIPE_PUBLIC_KEY = os.environ.get('STRIPE_PUBLIC_KEY')
STRIPE_SECRET_KEY = os.environ.get('STRIPE_SECRET_KEY')

Expand Down

0 comments on commit f244936

Please sign in to comment.