Skip to content

Commit

Permalink
Fix serializer and sign up form
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn committed Nov 6, 2023
1 parent a28637b commit deee8a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/grandchallenge/challenges/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Meta:
]

def get_publications(self, obj) -> list[str]:
return [p.identifier for p in obj.publications.all()]
return [p.identifier.url for p in obj.publications.all()]

def get_start_date(self, obj) -> datetime | None:
try:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "socialaccount/base.html" %}
{% extends "socialaccount/base_entrance.html" %}
{% load crispy_forms_tags %}
{% load i18n %}

Expand Down

0 comments on commit deee8a8

Please sign in to comment.