Skip to content

Commit

Permalink
Call index_facilities_new from post_deployment command (#241)
Browse files Browse the repository at this point in the history
Added calling index_facilities_new from post_deployment command.
  • Loading branch information
mazursasha1990 authored Jun 12, 2024
1 parent 91eb84a commit 294eb4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/release/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
* [OSDEV-1089](https://opensupplyhub.atlassian.net/browse/OSDEV-1089) Change format gunicurn logs not pass IP address to AWS CloudWatch.
* Removed calling command `clean_facilitylistitems` from the `post_deployment` command.
* Added calling command `reindex_database` from the `post_deployment` command.
* Added calling command `index_facilities_new` from the `post_deployment` command.

### Bugfix
* [OSDEV-1019](https://opensupplyhub.atlassian.net/browse/OSDEV-1019) - Fixed an error message to 'Your account is not verified. Check your email for a confirmation link.' when a user tries to log in with an uppercase letter in the email address and their account has not been activated through the confirmation link.
Expand Down
1 change: 1 addition & 0 deletions src/django/api/management/commands/post_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ class Command(BaseCommand):

def handle(self, *args, **options):
call_command('migrate')
call_command('index_facilities_new')
call_command('reindex_database')

0 comments on commit 294eb4f

Please sign in to comment.