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

refactor: Represent RFCs as their own DocType #5835

Merged

Conversation

jennifer-richards
Copy link
Member

@jennifer-richards jennifer-richards commented Jun 15, 2023

The renaming of rfc_number() to deprecated_rfc_number() only changed uses in Python code, not templates. I had to rename the method because it otherwise shadowed the new rfc_number field.


State = apps.get_model("doc", "State")
draft_rfc_state = State.objects.get(type_id="draft", slug="rfc")
rfc_published_state = State.objects.get(type_id="rfc", slug="published")
Copy link
Member Author

Choose a reason for hiding this comment

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

Note to self: need to depend on the name migration so that the rfc type exists.

@jennifer-richards jennifer-richards marked this pull request as ready for review June 20, 2023 18:18
@jennifer-richards jennifer-richards merged commit f2c2957 into ietf-tools:feat/rfc Jun 20, 2023
@jennifer-richards jennifer-richards deleted the rfc-first-class branch June 20, 2023 18:28
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant