mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	settings: Support free_trial_days in the development environment.
This commit is contained in:
		@@ -363,7 +363,7 @@ ARCHIVED_DATA_VACUUMING_DELAY_DAYS = 7
 | 
			
		||||
# are available to all realms.
 | 
			
		||||
BILLING_ENABLED = False
 | 
			
		||||
 | 
			
		||||
FREE_TRIAL_DAYS = None
 | 
			
		||||
FREE_TRIAL_DAYS = get_secret('free_trial_days', None)
 | 
			
		||||
 | 
			
		||||
# Custom message (supports HTML) to be shown in the navbar of landing pages. Used mainly for
 | 
			
		||||
# making announcements.
 | 
			
		||||
 
 | 
			
		||||
@@ -155,7 +155,6 @@ THUMBNAIL_IMAGES = True
 | 
			
		||||
SEARCH_PILLS_ENABLED = bool(os.getenv('SEARCH_PILLS_ENABLED', False))
 | 
			
		||||
 | 
			
		||||
BILLING_ENABLED = True
 | 
			
		||||
FREE_TRIAL_DAYS = None
 | 
			
		||||
LANDING_PAGE_NAVBAR_MESSAGE = None
 | 
			
		||||
 | 
			
		||||
# Test Custom TOS template rendering
 | 
			
		||||
 
 | 
			
		||||
@@ -228,3 +228,5 @@ RATE_LIMITING_RULES = {
 | 
			
		||||
    'authenticate_by_username': [],
 | 
			
		||||
    'password_reset_form_by_email': [],
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
FREE_TRIAL_DAYS = None
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user