Skip to content

Add contact post for councils to make contacting them easier - #578

Open
georgelgeback wants to merge 1 commit into
mainfrom
council-post-contact
Open

georgelgeback wants to merge 1 commit into
mainfrom
council-post-contact

Conversation

@georgelgeback

Copy link
Copy Markdown
Contributor

Especially for events, but could also be useful for the council pages.

Comment thread routes/council_router.py
council = db.query(Council_DB).filter_by(name_sv=data.name_sv).one_or_none()
if council is not None:
raise HTTPException(status.HTTP_400_BAD_REQUEST, "Council already exists")
if data.contact_post_id is not None:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is contact_post_id from the CouncilCreate schema ever used?

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.

2 participants