Skip to content

Commit

Permalink
Test CI/CD Railway V.1.27
Browse files Browse the repository at this point in the history
 Changes to be committed:
	modified:   oc_lettings_site/settings.py
  • Loading branch information
Bubhux committed Jan 19, 2025
1 parent 3745e08 commit 1414f5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oc_lettings_site/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@
check_db_config = dj_database_url.config(conn_max_age=600, ssl_require=True)
DATABASES['default'].update(check_db_config)

print(f"Running on port: {os.environ.get('PORT')}")

AUTH_PASSWORD_VALIDATORS = [
{'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator'},
{'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator'},
Expand All @@ -135,4 +137,3 @@
MEDIA_URL = '/media/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
print(f"Running on port: {os.environ.get('PORT')}")

0 comments on commit 1414f5d

Please sign in to comment.