Publication rework #83

Closed
opened 2022-01-21 08:30:56 +01:00 by mpeltriaux · 1 comment
Owner

Status quo

Data is published when it has been marked as recorded ("verzeichnet"). Currently the only indicator for data being published are the reports, which will return proper content then.

The second important factor of publishing data is the binding_date ("Bestandskraftdatum").

Fix

Add a is_published() method to the data models, which holds all relevant checks for determining a data being published now or not. This function can then be used handy at any place in the code for a quick lookup.

# Status quo Data is published when it has been marked as `recorded` ("verzeichnet"). Currently the only indicator for data being published are the reports, which will return proper content then. The second important factor of publishing data is the `binding_date` ("Bestandskraftdatum"). # Fix Add a `is_published()` method to the data models, which holds all relevant checks for determining a data being published now or not. This function can then be used handy at any place in the code for a quick lookup.
mpeltriaux added the
bug
label 2022-01-21 08:30:56 +01:00
mpeltriaux self-assigned this 2022-01-21 08:30:56 +01:00
Author
Owner

Merged in #84

# Merged in #84
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IT-Naturschutz/konova#83
No description provided.