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

Gazette volume number and resource #1836

Merged
merged 5 commits into from
Jun 4, 2024
Merged

Gazette volume number and resource #1836

merged 5 commits into from
Jun 4, 2024

Conversation

actlikewill
Copy link
Contributor

@actlikewill actlikewill commented Jun 4, 2024

This adds the volume number and gazette bulk import resource

closes https://github.com/laws-africa/kenyalaw-pj/issues/76

@@ -20,6 +20,7 @@ class Gazette(CoreDocument):
key = models.CharField(
_("key"), max_length=512, null=True, blank=True, db_index=True
)
volume_number = models.IntegerField(_("volume number"), null=True, blank=True)
Copy link
Contributor

Choose a reason for hiding this comment

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

string field

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

@actlikewill actlikewill marked this pull request as ready for review June 4, 2024 11:44
@longhotsummer
Copy link
Contributor

Looks good.

Do you think we should add it to the default gazette listing pages, near where we put the sub-publication or number? maybe in the same td?

@actlikewill
Copy link
Contributor Author

actlikewill commented Jun 4, 2024

Looks good.

Do you think we should add it to the default gazette listing pages, near where we put the sub-publication or number? maybe in the same td?

ah right. here it is, those are both sub_publication and volume number in the td
image

Comment on lines +1063 to +1071
fieldsets[0][1]["fields"].extend(
[
"volume_number",
"sub_publication",
"supplement",
"supplement_number",
"publication",
]
)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

added these to the admin as well

@actlikewill actlikewill merged commit 058c537 into main Jun 4, 2024
9 checks passed
@actlikewill actlikewill deleted the gazette-vol branch June 4, 2024 14:44
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