Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
silvadealmeida committed Aug 22, 2024
1 parent cf81dbb commit 9e4564e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions geonode/people/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,21 @@ def get_by_natural_key(self, username):
return self.get(username=username)


# ORGANIZATION_LIST = FundingReference.objects.values()
# print(ORGANIZATION_LIST)


class Profile(AbstractUser):
"""Fully featured Geonode user"""

ORAGANIZATION_LIST = FundingReference.objects.values_list("funder_name", "funder_name")
# ORGANIZATION_LIST = FundingReference.objects.values_list("funder_name", "funder_name")
organization = models.CharField(
_("Organization Name"),
max_length=255,
blank=True,
null=True,
help_text=_("name of the responsible organization"),
choices=ORAGANIZATION_LIST,
# choices=ORGANIZATION_LIST,
)
profile = models.TextField(_("Profile"), null=True, blank=True, help_text=_("introduce yourself"))
position = models.CharField(
Expand Down

0 comments on commit 9e4564e

Please sign in to comment.