From deee8a8b40911e75ffaea2a9e33d030ee61162da Mon Sep 17 00:00:00 2001 From: James Meakin <12661555+jmsmkn@users.noreply.github.com> Date: Mon, 6 Nov 2023 21:47:39 +0100 Subject: [PATCH] Fix serializer and sign up form --- app/grandchallenge/challenges/serializers.py | 2 +- app/grandchallenge/profiles/templates/socialaccount/signup.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/grandchallenge/challenges/serializers.py b/app/grandchallenge/challenges/serializers.py index 7bff5e094e..4ba50bd544 100644 --- a/app/grandchallenge/challenges/serializers.py +++ b/app/grandchallenge/challenges/serializers.py @@ -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: diff --git a/app/grandchallenge/profiles/templates/socialaccount/signup.html b/app/grandchallenge/profiles/templates/socialaccount/signup.html index 234413d1f8..487575eefe 100644 --- a/app/grandchallenge/profiles/templates/socialaccount/signup.html +++ b/app/grandchallenge/profiles/templates/socialaccount/signup.html @@ -1,4 +1,4 @@ -{% extends "socialaccount/base.html" %} +{% extends "socialaccount/base_entrance.html" %} {% load crispy_forms_tags %} {% load i18n %}