Skip to content

Commit

Permalink
Merge pull request #199 from MetaCell/develop
Browse files Browse the repository at this point in the history
v1.0.3
  • Loading branch information
filippomc authored Oct 3, 2023
2 parents e9f3c99 + 4284ec2 commit 2074de4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion applications/portal/backend/api/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ class VendorAdmin(admin.ModelAdmin):

@admin.display(description="Number of antibodies")
def nb_antibodies(self, obj):
return len(Antibody.objects.filter(vendor=obj))
return Antibody.objects.filter(vendor=obj).count()

@admin.display(description=format_html("Recent antibodies<br/>(in queue)"))
def recent_antibodies(self, obj, limit=10):
Expand Down
2 changes: 1 addition & 1 deletion applications/portal/backend/portal/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@

LANGUAGE_CODE = "en-us"

TIME_ZONE = "UTC"
TIME_ZONE = "America/Los_Angeles"

USE_I18N = True

Expand Down
3 changes: 3 additions & 0 deletions applications/portal/deploy/values-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ harness:
auto: true
type: postgres
size: 10Gi
deployment:
replicas: 1

accounts:
roles:
- portal:administrator
Expand Down
2 changes: 1 addition & 1 deletion applications/portal/deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ harness:
auto: true
deployment:
auto: true
replicas: 1
replicas: 3
port: 8080
livenessProbe:
path: /api/live
Expand Down

0 comments on commit 2074de4

Please sign in to comment.