Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing fields in orgs app #50

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from
Draft

Conversation

albertoleoncio
Copy link
Member

This pull request includes changes to the orgs app to add new fields to the Organization model and enhance the OrganizationSerializer. The most important changes include adding email and website fields to the Organization model and implementing methods to include related projects and events in the OrganizationSerializer.

Additions to Organization model:

  • Added email field to store the organization's email address. (orgs/migrations/0009_organization_email_organization_website.py, orgs/models.py) [1] [2]
  • Added website field to store the organization's website URL. (orgs/migrations/0009_organization_email_organization_website.py, orgs/models.py) [1] [2]

Enhancements to OrganizationSerializer:

  • Added projects method to include related projects in the serialized output. (orgs/serializers.py)
  • Added events method to include related events in the serialized output. (orgs/serializers.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant