Skip to content

Commit

Permalink
Merge pull request #32 from Bubhux/development
Browse files Browse the repository at this point in the history
Test CI/CD Railway V.1.27
  • Loading branch information
Bubhux authored Jan 19, 2025
2 parents ce11b82 + 1414f5d commit d3fd80b
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 d3fd80b

Please sign in to comment.