clinicedc 2.0.6__py3-none-any.whl → 2.0.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of clinicedc might be problematic. Click here for more details.
- {clinicedc-2.0.6.dist-info → clinicedc-2.0.8.dist-info}/METADATA +2 -2
- {clinicedc-2.0.6.dist-info → clinicedc-2.0.8.dist-info}/RECORD +489 -441
- {clinicedc-2.0.6.dist-info → clinicedc-2.0.8.dist-info}/WHEEL +1 -1
- edc_action_item/action.py +1 -1
- edc_action_item/action_item_notification.py +2 -2
- edc_action_item/auths.py +37 -32
- edc_action_item/create_action_item.py +1 -1
- edc_action_item/decorators.py +1 -1
- edc_action_item/migrations/0001_initial.py +21 -22
- edc_action_item/migrations/0006_auto_20180707_1659.py +4 -4
- edc_action_item/migrations/0008_auto_20180809_0303.py +4 -4
- edc_action_item/migrations/0015_auto_20190114_0250.py +4 -4
- edc_action_item/migrations/0017_auto_20190305_0123.py +11 -30
- edc_action_item/migrations/0030_edcpermissions.py +3 -2
- edc_action_item/migrations/0039_alter_actionitem_auto_created_comment_and_more.py +398 -0
- edc_action_item/migrations/0040_alter_actionitem_report_datetime_and_more.py +34 -0
- edc_action_item/models/action_item.py +9 -4
- edc_action_item/models/action_model_mixin.py +5 -6
- edc_action_item/models/reference.py +2 -2
- edc_action_item/models/signals.py +22 -23
- edc_action_item/post_migrate_signals.py +1 -1
- edc_action_item/send_email.py +0 -85
- edc_action_item/site_action_items.py +5 -9
- edc_action_item/utils.py +3 -3
- edc_adherence/migrations/0005_alter_nonadherencereasons_extra_value_and_more.py +36 -0
- edc_adherence/model_mixins.py +1 -1
- edc_adverse_event/auths.py +55 -51
- edc_adverse_event/migrations/0001_initial.py +5 -4
- edc_adverse_event/migrations/0002_auto_20190802_0059.py +3 -2
- edc_adverse_event/migrations/0008_auto_20220825_0451.py +3 -2
- edc_adverse_event/migrations/0009_auto_20220907_0157.py +3 -2
- edc_adverse_event/migrations/0016_alter_aeactionclassification_device_created_and_more.py +285 -0
- edc_adverse_event/model_mixins/ae_followup/ae_followup_fields_model_mixin.py +2 -2
- edc_adverse_event/model_mixins/ae_initial/ae_initial_fields_model_mixin.py +6 -5
- edc_adverse_event/model_mixins/ae_special_interest/aesi_fields_model_mixin.py +2 -2
- edc_adverse_event/model_mixins/ae_susar/ae_susar_fields_model_mixin.py +2 -2
- edc_adverse_event/model_mixins/ae_tmg/ae_tmg_fields_model_mixin.py +15 -11
- edc_adverse_event/model_mixins/ae_tmg/ae_tmg_methods_model_mixin.py +2 -4
- edc_adverse_event/model_mixins/death_report/death_report_model_mixin.py +5 -4
- edc_adverse_event/model_mixins/death_report/death_report_tmg_model_mixin.py +6 -3
- edc_adverse_event/model_mixins/death_report/simple_death_report_model_mixin.py +2 -2
- edc_adverse_event/model_mixins/hospitaization/hospitalization_model_mixin.py +4 -3
- edc_adverse_event/modeladmin_mixins/death_report_admin_mixin.py +3 -3
- edc_adverse_event/models/signals.py +7 -7
- edc_adverse_event/templatetags/edc_adverse_event_extras.py +5 -4
- edc_adverse_event/view_mixins/ae/ae_listboard_view_mixin.py +3 -5
- edc_adverse_event/view_mixins/ae/death_report_listboard_view_mixin.py +6 -8
- edc_adverse_event/view_mixins/tmg/tmg_ae_listboard_view_mixin.py +2 -2
- edc_adverse_event/views/tmg/summary_listboard_view.py +3 -2
- edc_appointment/admin/appointment_admin.py +2 -2
- edc_appointment/admin/list_filters.py +2 -2
- edc_appointment/auths.py +14 -10
- edc_appointment/creators/appointment_creator.py +1 -1
- edc_appointment/creators/appointments_creator.py +1 -1
- edc_appointment/form_validators/appointment_form_validator.py +108 -82
- edc_appointment/migrations/0003_auto_20161127_2226.py +5 -6
- edc_appointment/migrations/0006_auto_20170106_2118.py +5 -5
- edc_appointment/migrations/0018_auto_20190305_0123.py +5 -12
- edc_appointment/migrations/0050_alter_appointment_appt_type_and_more.py +220 -0
- edc_appointment/model_mixins/appointment_fields_model_mixin.py +1 -2
- edc_appointment/model_mixins/appointment_methods_model_mixin.py +2 -3
- edc_appointment/model_mixins/appointment_model_mixin.py +31 -28
- edc_appointment/model_mixins/window_period_model_mixin.py +6 -7
- edc_appointment/models/appointment.py +1 -1
- edc_appointment/models/signals.py +44 -35
- edc_appointment/utils.py +19 -24
- edc_appointment/view_utils/appointment_button.py +2 -2
- edc_auth/admin/user_admin.py +1 -1
- edc_auth/auth_objects/__init__.py +2 -20
- edc_auth/auth_objects/default_groups.py +13 -11
- edc_auth/auth_objects/default_roles.py +26 -24
- edc_auth/auth_updater/auth_updater.py +13 -2
- edc_auth/auth_updater/group_updater.py +12 -10
- edc_auth/auth_updater/role_updater.py +2 -2
- edc_auth/constants.py +10 -0
- edc_auth/import_users.py +3 -3
- edc_auth/migrations/0001_squashed_0033_alter_userprofile_is_multisite_viewer.py +5 -5
- edc_auth/migrations/0012_auto_20191026_0034.py +3 -2
- edc_auth/migrations/0013_auto_20191026_0055.py +3 -2
- edc_auth/migrations/0025_permissions.py +3 -2
- edc_auth/migrations/0035_alter_edcpermissions_device_created_and_more.py +85 -0
- edc_auth/models/user_profile.py +14 -11
- edc_auth/post_migrate_signals.py +1 -1
- edc_auth/site_auths.py +80 -67
- edc_consent/actions.py +4 -5
- edc_consent/auths.py +18 -12
- edc_consent/migrations/0001_initial.py +3 -2
- edc_consent/migrations/0006_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_consent/model_mixins/consent_extension_model_mixin.py +4 -5
- edc_consent/model_mixins/requires_consent_fields_model_mixin.py +2 -2
- edc_consent/utils.py +1 -1
- edc_constants/constants.py +1 -0
- edc_crf/auths.py +5 -0
- edc_crf/migrations/0001_initial.py +3 -2
- edc_crf/migrations/0009_alter_crfstatus_device_created_and_more.py +54 -0
- edc_dashboard/auths.py +10 -6
- edc_dashboard/migrations/0001_initial.py +3 -2
- edc_dashboard/migrations/0006_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_dashboard/templatetags/edc_dashboard_extras.py +3 -2
- edc_dashboard/url_config.py +92 -83
- edc_dashboard/url_names.py +4 -4
- edc_dashboard/view_mixins/url_request_context_mixin.py +6 -5
- edc_data_manager/action_items.py +4 -6
- edc_data_manager/admin/actions.py +5 -5
- edc_data_manager/admin/data_query_admin.py +12 -11
- edc_data_manager/auths.py +37 -34
- edc_data_manager/handlers/handlers.py +6 -7
- edc_data_manager/migrations/0001_initial.py +19 -19
- edc_data_manager/migrations/0025_edcpermissions.py +3 -2
- edc_data_manager/migrations/0040_alter_datadictionary_device_created_and_more.py +327 -0
- edc_data_manager/migrations/0041_alter_dataquery_dm_user_and_more.py +164 -0
- edc_data_manager/models/data_query.py +5 -5
- edc_data_manager/models/model_mixins.py +8 -8
- edc_data_manager/rule/query_rule_wrapper.py +7 -7
- edc_data_manager/rule/rule_runner.py +4 -3
- edc_document_status/model_mixins.py +1 -1
- edc_egfr/egfr.py +11 -7
- edc_egfr/model_mixins/egfr_model_mixin.py +3 -7
- edc_export/admin/data_request_admin.py +2 -2
- edc_export/archive_exporter.py +7 -5
- edc_export/auths.py +32 -28
- edc_export/files_archiver.py +3 -2
- edc_export/migrations/0001_initial.py +26 -26
- edc_export/migrations/0004_auto_20190305_0123.py +25 -72
- edc_export/migrations/0013_edcpermissions.py +3 -2
- edc_export/migrations/0022_alter_datarequest_description_and_more.py +611 -0
- edc_export/migrations/0023_alter_datarequesthistory_archive_filename_and_more.py +29 -0
- edc_export/model_exporter/file_history_updater.py +10 -10
- edc_export/model_exporter/model_exporter.py +17 -15
- edc_export/model_exporter/object_history_helpers.py +2 -2
- edc_export/models/data_request_history.py +4 -4
- edc_export/utils.py +10 -15
- edc_facility/auths.py +8 -3
- edc_facility/facility.py +16 -22
- edc_facility/import_holidays.py +13 -13
- edc_facility/migrations/0005_healthfacility_healthfacilitytypes_and_more.py +8 -7
- edc_facility/migrations/0016_alter_healthfacility_device_created_and_more.py +139 -0
- edc_facility/migrations/0017_alter_healthfacility_gps_and_more.py +54 -0
- edc_facility/model_mixins.py +5 -5
- edc_form_label/custom_label_condition.py +11 -8
- edc_form_label/form_label.py +1 -1
- edc_form_runners/auths.py +11 -6
- edc_form_runners/form_runner.py +3 -5
- edc_form_runners/migrations/0001_initial.py +3 -2
- edc_form_runners/migrations/0005_alter_issue_device_created_and_more.py +49 -0
- edc_form_validators/applicable_field_validator.py +7 -6
- edc_form_validators/base_form_validator.py +8 -9
- edc_form_validators/other_specify_field_validator.py +2 -8
- edc_form_validators/required_field_validator.py +19 -16
- edc_identifier/migrations/0001_squashed_0018_auto_20180128_1054.py +3 -3
- edc_identifier/migrations/0002_auto_20190305_0123.py +3 -6
- edc_identifier/migrations/0006_auto_20161127_2226.py +15 -15
- edc_identifier/migrations/0007_auto_20161204_2227.py +3 -3
- edc_identifier/migrations/0009_auto_20161221_2323.py +3 -5
- edc_identifier/migrations/0010_auto_20170112_0602.py +17 -17
- edc_identifier/migrations/0011_alter_identifiermodel_device_created_and_more.py +79 -0
- edc_identifier/model_mixins.py +1 -1
- edc_identifier/models.py +9 -9
- edc_identifier/research_identifier.py +11 -10
- edc_identifier/simple_identifier.py +9 -5
- edc_identifier/subject_identifier.py +3 -2
- edc_lab/auths.py +26 -23
- edc_lab/lab/aliquot_creator.py +5 -8
- edc_lab/lab/primary_aliquot.py +14 -5
- edc_lab/migrations/0001_initial.py +29 -29
- edc_lab/migrations/0008_auto_20170921_0719.py +3 -3
- edc_lab/migrations/0010_auto_20171127_1541.py +15 -15
- edc_lab/migrations/0012_auto_20180114_1438.py +3 -3
- edc_lab/migrations/0019_auto_20190305_0123.py +43 -127
- edc_lab/migrations/0036_alter_aliquot_comment_alter_aliquot_device_created_and_more.py +1139 -0
- edc_lab/migrations/0037_alter_historicalorder_order_datetime_and_more.py +31 -0
- edc_lab/model_mixins/aliquot/aliquot_identifier_model_mixin.py +2 -2
- edc_lab/model_mixins/aliquot/aliquot_model_mixin.py +2 -2
- edc_lab/model_mixins/panel_model_mixin.py +18 -7
- edc_lab/model_mixins/requisition/crf_with_requisition_model_mixin.py +2 -4
- edc_lab/model_mixins/requisition/requisition_model_mixin.py +13 -16
- edc_lab/model_mixins/requisition/requisition_verify_model_mixin.py +1 -1
- edc_lab/model_mixins/result/result_item_model_mixin.py +4 -4
- edc_lab/model_mixins/shipping/manifest_model_mixin.py +4 -5
- edc_lab/model_mixins/shipping/verify_model_mixin.py +4 -6
- edc_lab/models/aliquot.py +2 -2
- edc_lab/models/box.py +1 -1
- edc_lab/models/box_item.py +6 -7
- edc_lab/models/manifest/manifest.py +3 -3
- edc_lab/models/manifest/manifest_item.py +7 -7
- edc_lab/models/manifest/shipper.py +3 -4
- edc_lab/models/order.py +6 -4
- edc_lab/models/panel.py +4 -4
- edc_lab/models/result.py +2 -2
- edc_lab/models/result_item.py +2 -2
- edc_lab_dashboard/auths.py +16 -11
- edc_lab_dashboard/migrations/0001_initial.py +3 -2
- edc_lab_dashboard/migrations/0005_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_lab_dashboard/views/action_views/receive_view.py +2 -2
- edc_lab_dashboard/views/action_views/verify_box_item_view.py +2 -2
- edc_lab_results/calculate_missing.py +8 -8
- edc_lab_results/form_validator_mixins/blood_results_form_validator_mixin.py +2 -2
- edc_lab_results/get_summary.py +26 -25
- edc_lab_results/model_mixins/blood_result_model_mixin.py +9 -7
- edc_lab_results/model_mixins/fbg_model_mixin.py +3 -3
- edc_lab_results/model_mixins/glucose_model_mixin.py +3 -3
- edc_lab_results/model_mixins/hba1c_model_mixin.py +3 -3
- edc_label/auths.py +6 -1
- edc_label/label_template.py +8 -8
- edc_label/migrations/0001_initial.py +3 -2
- edc_label/migrations/0007_alter_zpllabeltemplates_device_created_and_more.py +49 -0
- edc_list_data/list_model_maker.py +2 -2
- edc_list_data/load_list_data.py +11 -14
- edc_list_data/load_model_data.py +3 -3
- edc_list_data/model_mixins.py +12 -4
- edc_list_data/post_migrate_signals.py +1 -1
- edc_list_data/preload_data.py +4 -4
- edc_list_data/row.py +1 -1
- edc_list_data/site_list_data.py +6 -5
- edc_listboard/migrations/0001_initial.py +3 -2
- edc_listboard/migrations/0007_alter_listboard_device_created_and_more.py +49 -0
- edc_locator/auths.py +18 -13
- edc_locator/migrations/0001_initial.py +7 -7
- edc_locator/migrations/0018_auto_20190305_0123.py +5 -12
- edc_locator/migrations/0040_alter_historicalsubjectlocator_action_identifier_and_more.py +187 -0
- edc_locator/migrations/0041_alter_historicalsubjectlocator_report_datetime_and_more.py +27 -0
- edc_locator/model_mixins/locator_model_mixin.py +2 -2
- edc_locator/model_mixins/subject_contact_fields_mixin.py +1 -1
- edc_locator/modeladmin_mixins.py +5 -4
- edc_ltfu/model_mixins.py +7 -5
- edc_metadata/auths.py +11 -7
- edc_metadata/metadata/metadata.py +1 -1
- edc_metadata/metadata_rules/crf/crf_rule.py +1 -1
- edc_metadata/metadata_rules/decorators.py +1 -1
- edc_metadata/metadata_rules/metadata_rule_evaluator.py +5 -3
- edc_metadata/metadata_rules/rule.py +2 -3
- edc_metadata/metadata_rules/rule_evaluator.py +1 -1
- edc_metadata/migrations/0002_auto_20161127_2226.py +5 -5
- edc_metadata/migrations/0005_auto_20170112_0602.py +5 -5
- edc_metadata/migrations/0011_auto_20190305_0123.py +5 -12
- edc_metadata/migrations/0031_alter_crfmetadata_device_created_and_more.py +120 -0
- edc_metadata/model_mixins/updates/updates_crf_metadata_model_mixin.py +7 -4
- edc_metadata/model_mixins/updates/updates_requisition_metadata_model_mixin.py +5 -2
- edc_metadata/models/crf_metadata.py +5 -5
- edc_metadata/models/crf_metadata_model_mixin.py +4 -5
- edc_metadata/models/requisition_metadata.py +6 -6
- edc_metadata/models/signals.py +10 -11
- edc_metadata/views/refresh_metadata_actions_view.py +3 -3
- edc_model/models/address_mixin.py +6 -6
- edc_model/models/fields/initials_field.py +2 -1
- edc_model/models/historical_records.py +2 -9
- edc_model/models/url_model_mixin.py +2 -2
- edc_model/validators/date.py +7 -8
- edc_model_admin/list_filters/future_date_list_filter.py +3 -3
- edc_model_admin/list_filters/past_date_list_filter.py +3 -3
- edc_model_admin/mixins/model_admin_protect_pii_mixin.py +4 -5
- edc_model_fields/fields/other_charfield.py +2 -2
- edc_navbar/auths.py +18 -13
- edc_navbar/migrations/0004_auto_20220825_0451.py +3 -2
- edc_navbar/migrations/0009_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_notification/auths.py +9 -4
- edc_notification/migrations/0001_initial.py +3 -3
- edc_notification/migrations/0004_auto_20190305_0123.py +3 -6
- edc_notification/migrations/0011_alter_notification_device_created_and_more.py +59 -0
- edc_notification/models/notification.py +1 -1
- edc_notification/notification/graded_event_notification.py +2 -2
- edc_notification/notification/model_notification.py +3 -30
- edc_notification/notification/new_model_notification.py +1 -1
- edc_notification/notification/notification.py +12 -12
- edc_notification/notification/updated_model_notification.py +2 -2
- edc_offstudy/auths.py +12 -7
- edc_offstudy/migrations/0001_initial.py +4 -4
- edc_offstudy/migrations/0002_auto_20180921_0434.py +4 -4
- edc_offstudy/migrations/0005_auto_20190305_0123.py +5 -12
- edc_offstudy/migrations/0023_alter_historicalsubjectoffstudy_action_identifier_and_more.py +188 -0
- edc_offstudy/migrations/0024_alter_historicalsubjectoffstudy_offstudy_datetime_and_more.py +43 -0
- edc_offstudy/model_mixins/offstudy_model_mixin.py +3 -2
- edc_pdutils/df_exporters/csv_exporter.py +33 -37
- edc_pdutils/df_exporters/csv_model_exporter.py +7 -3
- edc_pdutils/migrations/0001_initial.py +8 -8
- edc_pharmacy/admin/prescription/rx_refill_admin.py +4 -3
- edc_pharmacy/admin/reports/stock_availability_admin.py +5 -6
- edc_pharmacy/auths.py +19 -15
- edc_pharmacy/migrations/0001_initial.py +64 -63
- edc_pharmacy/migrations/0015_auto_20220913_2139.py +26 -26
- edc_pharmacy/migrations/0024_allocation_assignment_containerunits_dispense_and_more.py +81 -86
- edc_pharmacy/migrations/0037_remove_historicalstock_confirmed_at_site_by_and_more.py +5 -5
- edc_pharmacy/migrations/0039_remove_dispense_registered_subject_and_more.py +7 -8
- edc_pharmacy/migrations/0049_remove_stocktransferconfirmation_stock_and_more.py +12 -12
- edc_pharmacy/migrations/0050_remove_stocktransferconfirmation2_location_and_more.py +5 -5
- edc_pharmacy/migrations/0051_alter_historicalstocktransferconfirmationitem_options_and_more.py +3 -4
- edc_pharmacy/migrations/0053_alter_location_managers_alter_historicalstock_lot_and_more.py +3 -3
- edc_pharmacy/migrations/0057_scanduplicates.py +3 -3
- edc_pharmacy/migrations/0060_alter_container_max_per_subject_and_more.py +13 -15
- edc_pharmacy/migrations/0068_stockout.py +2 -3
- edc_pharmacy/migrations/0076_historicalstockadjustment_stockadjustment.py +5 -5
- edc_pharmacy/migrations/0077_historicalstockadjustment_adjustment_datetime_and_more.py +3 -4
- edc_pharmacy/migrations/0081_historicalconfirmation_confirmation.py +8 -8
- edc_pharmacy/migrations/0084_confirmationatsiteitem_and_more.py +0 -2
- edc_pharmacy/migrations/0089_alter_allocation_allocated_by_and_more.py +3284 -0
- edc_pharmacy/migrations/0090_alter_allocation_allocation_datetime_and_more.py +227 -0
- edc_pharmacy/model_mixins/study_medication_refill_model_mixin.py +2 -2
- edc_pharmacy/models/medication/formulation.py +5 -7
- edc_pharmacy/models/medication/medication.py +3 -3
- edc_pharmacy/models/model_mixins.py +10 -11
- edc_pharmacy/models/prescription/rx.py +13 -12
- edc_pharmacy/models/prescription/rx_refill.py +0 -1
- edc_pharmacy/models/stock/allocation.py +3 -3
- edc_pharmacy/models/stock/confirmation.py +3 -3
- edc_pharmacy/models/stock/confirmation_at_site.py +3 -2
- edc_pharmacy/models/stock/confirmation_at_site_item.py +3 -4
- edc_pharmacy/models/stock/dispense.py +5 -6
- edc_pharmacy/models/stock/dispense_item.py +2 -2
- edc_pharmacy/models/stock/location.py +3 -4
- edc_pharmacy/models/stock/lot.py +6 -7
- edc_pharmacy/models/stock/order.py +1 -1
- edc_pharmacy/models/stock/receive.py +3 -3
- edc_pharmacy/models/stock/receive_item.py +4 -4
- edc_pharmacy/models/stock/repack_request.py +2 -2
- edc_pharmacy/models/stock/stock.py +12 -18
- edc_pharmacy/models/stock/stock_adjustment.py +4 -4
- edc_pharmacy/models/stock/stock_request.py +2 -2
- edc_pharmacy/models/stock/stock_request_item.py +2 -2
- edc_pharmacy/models/stock/stock_transfer.py +3 -3
- edc_pharmacy/models/stock/stock_transfer_item.py +2 -2
- edc_pharmacy/models/stock/storage_bin.py +3 -4
- edc_pharmacy/models/stock/storage_bin_item.py +2 -2
- edc_pharmacy/models/stock/supplier.py +3 -4
- edc_pharmacy/models/storage/box.py +2 -2
- edc_pharmacy/models/storage/items/container_model_mixin.py +3 -4
- edc_pharmacy/models/storage/items/pill_bottle_model_mixin.py +2 -2
- edc_pharmacy/models/storage/items/subject_pill_bottle.py +1 -1
- edc_pharmacy/models/storage/room.py +2 -2
- edc_pharmacy/models/storage/shelf.py +2 -2
- edc_pharmacy/models/storage/utils.py +1 -1
- edc_pharmacy/prescribe/create_prescription.py +3 -3
- edc_pharmacy/utils/allocate_stock.py +2 -3
- edc_pharmacy/utils/confirm_stock.py +3 -4
- edc_pharmacy/utils/confirm_stock_at_site.py +4 -5
- edc_pharmacy/utils/dispense.py +3 -4
- edc_pharmacy/utils/process_repack_request.py +4 -5
- edc_pharmacy/utils/stock_request/bulk_create_stock_request_items.py +2 -3
- edc_pharmacy/utils/transfer_stock.py +2 -3
- edc_pharmacy/views/add_to_storage_bin_view.py +2 -2
- edc_pharmacy/views/allocate_to_subject_view.py +2 -2
- edc_pharmacy/views/confirmation_at_site_view.py +6 -9
- edc_pharmacy/views/dispense_view.py +2 -2
- edc_pharmacy/views/move_to_storage_bin_view.py +2 -3
- edc_pharmacy/views/print_labels_view.py +2 -2
- edc_prn/admin_site.py +5 -0
- edc_prn/prn.py +10 -11
- edc_prn/urls.py +11 -0
- edc_protocol/research_protocol_config.py +2 -3
- edc_protocol_incident/action_items.py +4 -4
- edc_protocol_incident/auths.py +27 -20
- edc_protocol_incident/migrations/0001_initial.py +7 -7
- edc_protocol_incident/migrations/0001_squashed_0015_auto_20220927_0401.py +13 -13
- edc_protocol_incident/migrations/0005_protocolincident_historicalprotocolincident_and_more.py +7 -7
- edc_protocol_incident/migrations/0024_alter_actionsrequired_extra_value_and_more.py +625 -0
- edc_protocol_incident/migrations/0025_alter_historicalprotocoldeviationviolation_report_datetime_and_more.py +42 -0
- edc_protocol_incident/model_mixins/protocol_deviation_violation_model_mixin.py +18 -11
- edc_protocol_incident/model_mixins/protocol_incident_model_mixin.py +26 -11
- edc_pylabels/actions.py +3 -5
- edc_pylabels/auths.py +6 -1
- edc_pylabels/migrations/0002_alter_label_options_label_created_and_more.py +3 -7
- edc_pylabels/migrations/0005_labelconfiguration_delete_label_and_more.py +3 -3
- edc_pylabels/migrations/0013_alter_labelconfiguration_device_created_and_more.py +49 -0
- edc_qareports/auths.py +11 -7
- edc_qareports/migrations/0001_initial.py +4 -5
- edc_qareports/migrations/0005_edcpermissions.py +3 -3
- edc_qareports/migrations/0006_qareportlog.py +2 -3
- edc_qareports/migrations/0019_alter_edcpermissions_device_created_and_more.py +102 -0
- edc_qareports/migrations/0020_alter_note_report_datetime_and_more.py +24 -0
- edc_qareports/model_mixins/note_model_mixin.py +7 -4
- edc_qareports/model_mixins/on_study_missing_values_model_mixin.py +4 -4
- edc_qareports/model_mixins/qa_report_model_mixin.py +2 -3
- edc_qareports/models/note.py +4 -4
- edc_qareports/models/qa_reports_log.py +2 -3
- edc_randomization/admin.py +30 -24
- edc_randomization/auths.py +12 -7
- edc_randomization/decorators.py +1 -1
- edc_randomization/migrations/0001_initial.py +3 -2
- edc_randomization/migrations/0002_historicalrandomizationlist.py +3 -2
- edc_randomization/migrations/0009_edcpermissions.py +3 -2
- edc_randomization/migrations/0014_alter_edcpermissions_device_created_and_more.py +141 -0
- edc_randomization/model_mixins.py +9 -9
- edc_randomization/randomizer.py +22 -20
- edc_randomization/utils.py +19 -18
- edc_refusal/auths.py +7 -2
- edc_refusal/migrations/0001_initial.py +4 -4
- edc_refusal/migrations/0002_historicalsubjectrefusal.py +4 -4
- edc_refusal/migrations/0012_alter_historicalsubjectrefusal_comment_and_more.py +122 -0
- edc_refusal/migrations/0013_alter_historicalsubjectrefusal_report_datetime_and_more.py +28 -0
- edc_refusal/model_mixins.py +4 -4
- edc_registration/auths.py +28 -23
- edc_registration/migrations/0002_auto_20161127_2226.py +3 -4
- edc_registration/migrations/0005_auto_20170111_1809.py +4 -2
- edc_registration/migrations/0016_historicalregisteredsubject.py +3 -2
- edc_registration/migrations/0017_auto_20190305_0123.py +5 -12
- edc_registration/migrations/0033_alter_historicalregisteredsubject_additional_key_and_more.py +302 -0
- edc_registration/model_mixins/updates_or_creates_registered_subject_model_mixin.py +15 -7
- edc_registration/models/registered_subject.py +28 -27
- edc_reportable/age_evaluator.py +4 -2
- edc_reportable/formula.py +5 -5
- edc_reportable/migrations/0001_initial.py +7 -7
- edc_reportable/migrations/0003_referencerangecollection_grade1_and_more.py +3 -3
- edc_reportable/migrations/0004_alter_referencerangecollection_grade3_and_more.py +5 -5
- edc_reportable/migrations/0006_alter_gradingdata_revision_and_more.py +5 -6
- edc_reportable/migrations/0007_alter_gradingdata_age_phrase_and_more.py +509 -0
- edc_reportable/models/normal_data.py +4 -5
- edc_reportable/models/reference_model_mixins.py +10 -11
- edc_reportable/models/reference_range_collection.py +12 -13
- edc_reportable/post_migrate_signals.py +1 -1
- edc_reportable/utils/convert_units.py +11 -45
- edc_reportable/utils/get_normal_data_or_raise.py +2 -2
- edc_reportable/utils/get_reference_range_collection.py +2 -3
- edc_reportable/utils/load_data.py +4 -4
- edc_reportable/utils/update_grading_data.py +5 -5
- edc_review_dashboard/auths.py +23 -18
- edc_review_dashboard/migrations/0001_initial.py +3 -2
- edc_review_dashboard/migrations/0006_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_screening/age_evaluator.py +6 -6
- edc_screening/auths.py +35 -30
- edc_screening/eligibility.py +1 -1
- edc_screening/gender_evaluator.py +1 -1
- edc_screening/migrations/0001_initial.py +3 -2
- edc_screening/migrations/0005_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_screening/model_mixins/eligibility_model_mixin.py +3 -6
- edc_screening/model_mixins/screening_fields_model_mixin.py +6 -8
- edc_screening/model_mixins/screening_methods_model_mixin.py +1 -1
- edc_screening/screening_eligibility.py +2 -4
- edc_screening/utils.py +9 -9
- edc_search/generate_slug.py +26 -0
- edc_search/model_mixins.py +10 -22
- edc_sites/auths.py +8 -3
- edc_sites/migrations/0007_edcpermissions.py +3 -2
- edc_sites/migrations/0010_alter_edcpermissions_device_created_and_more.py +69 -0
- edc_sites/model_mixins/site_model_mixin.py +2 -2
- edc_sites/site.py +5 -5
- edc_sites/system_checks.py +1 -1
- edc_subject_dashboard/auths.py +27 -22
- edc_subject_dashboard/migrations/0001_initial.py +3 -2
- edc_subject_dashboard/migrations/0005_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_subject_dashboard/requisition_report.py +6 -4
- edc_subject_dashboard/requisition_verifier.py +6 -6
- edc_subject_dashboard/templatetags/edc_subject_dashboard_extras.py +2 -2
- edc_subject_dashboard/view_mixins/subject_visit_view_mixin.py +7 -8
- edc_subject_dashboard/view_utils/subject_consent_listboard_button.py +3 -2
- edc_subject_dashboard/view_utils/timepoint_status_button.py +2 -2
- edc_timepoint/apps.py +0 -21
- edc_timepoint/model_mixins.py +22 -20
- edc_transfer/model_mixins.py +4 -4
- edc_transfer/modeladmin_mixins.py +1 -1
- edc_unblinding/auths.py +9 -4
- edc_unblinding/migrations/0001_initial.py +13 -13
- edc_unblinding/migrations/0014_alter_historicalunblindingrequest_action_identifier_and_more.py +291 -0
- edc_unblinding/migrations/0015_alter_historicalunblindingrequest_report_datetime_and_more.py +45 -0
- edc_unblinding/models/unblinding_request.py +2 -2
- edc_unblinding/models/unblinding_review.py +3 -3
- edc_utils/__init__.py +3 -1
- edc_utils/age.py +10 -16
- edc_utils/show_urls.py +29 -2
- edc_visit_schedule/auths.py +6 -1
- edc_visit_schedule/migrations/0001_initial.py +3 -3
- edc_visit_schedule/migrations/0002_auto_20190305_0123.py +3 -6
- edc_visit_schedule/migrations/0003_historicalvisitschedule_visitschedule.py +5 -4
- edc_visit_schedule/migrations/0015_historicalonschedule_offschedule_onschedule.py +10 -10
- edc_visit_schedule/migrations/0019_alter_historicalonschedule_device_created_and_more.py +229 -0
- edc_visit_schedule/migrations/0020_alter_historicalonschedule_onschedule_datetime_and_more.py +65 -0
- edc_visit_schedule/model_mixins/off_schedule_model_mixin.py +5 -4
- edc_visit_schedule/model_mixins/on_schedule_model_mixin.py +5 -4
- edc_visit_schedule/model_mixins/visit_schedule/visit_code_fields_model_mixin.py +1 -1
- edc_visit_schedule/models/subject_schedule_history.py +6 -6
- edc_visit_schedule/schedule/visit_collection.py +1 -1
- edc_visit_schedule/site_visit_schedules.py +2 -2
- edc_visit_schedule/subject_schedule.py +5 -4
- edc_visit_schedule/view_mixins.py +2 -3
- edc_visit_schedule/visit/visit.py +3 -2
- edc_visit_tracking/migrations/0004_subjectvisit_subjectvisitmissedreasons_extra_value_and_more.py +13 -13
- edc_visit_tracking/migrations/0009_alter_historicalsubjectvisit_comments_and_more.py +450 -0
- edc_visit_tracking/migrations/0010_alter_historicalsubjectvisit_report_datetime_and_more.py +68 -0
- edc_visit_tracking/model_mixins/base/visit_methods_model_mixin.py +3 -3
- edc_visit_tracking/model_mixins/crfs/visit_tracking_crf_model_mixin.py +2 -2
- edc_visit_tracking/model_mixins/requisitions/visit_tracking_requisition_model_mixin.py +2 -2
- edc_visit_tracking/model_mixins/subject_visit_missed_model_mixin.py +2 -2
- edc_visit_tracking/model_mixins/visit_model_mixin/caretaker_fields_mixin.py +2 -3
- edc_visit_tracking/model_mixins/visit_model_mixin/previous_visit_model_mixin.py +1 -1
- edc_visit_tracking/model_mixins/visit_model_mixin/visit_model_fields_mixin.py +8 -11
- edc_visit_tracking/model_mixins/visit_model_mixin/visit_model_mixin.py +1 -1
- edc_visit_tracking/models/signals.py +3 -3
- edc_visit_tracking/models/subject_visit.py +1 -1
- edc_vitals/calculators/bmi.py +7 -5
- edc_vitals/utils.py +1 -1
- edc_form_label/models.py +0 -0
- edc_search/constants.py +0 -1
- edc_search/models.py +0 -0
- edc_search/search_slug.py +0 -50
- edc_search/updater.py +0 -30
- edc_search/wsgi.py +0 -7
- {clinicedc-2.0.6.dist-info → clinicedc-2.0.8.dist-info}/licenses/LICENSE +0 -0
|
@@ -35,11 +35,10 @@ import edc_pharmacy.models.stock.stock_request_item
|
|
|
35
35
|
import edc_pharmacy.models.stock.stock_transfer
|
|
36
36
|
import edc_pharmacy.models.stock.stock_transfer_item
|
|
37
37
|
import edc_pharmacy.models.stock.supplier
|
|
38
|
-
import
|
|
38
|
+
import django.utils.timezone
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
class Migration(migrations.Migration):
|
|
42
|
-
|
|
43
42
|
dependencies = [
|
|
44
43
|
("edc_pharmacy", "0023_remove_rx_edc_pharmac_modifie_986021_idx_and_more"),
|
|
45
44
|
("edc_registration", "0031_alter_historicalregisteredsubject_site_and_more"),
|
|
@@ -66,14 +65,14 @@ class Migration(migrations.Migration):
|
|
|
66
65
|
"created",
|
|
67
66
|
models.DateTimeField(
|
|
68
67
|
blank=True,
|
|
69
|
-
default=
|
|
68
|
+
default=django.utils.timezone.now,
|
|
70
69
|
),
|
|
71
70
|
),
|
|
72
71
|
(
|
|
73
72
|
"modified",
|
|
74
73
|
models.DateTimeField(
|
|
75
74
|
blank=True,
|
|
76
|
-
default=
|
|
75
|
+
default=django.utils.timezone.now,
|
|
77
76
|
),
|
|
78
77
|
),
|
|
79
78
|
(
|
|
@@ -165,7 +164,7 @@ class Migration(migrations.Migration):
|
|
|
165
164
|
),
|
|
166
165
|
(
|
|
167
166
|
"allocation_datetime",
|
|
168
|
-
models.DateTimeField(default=
|
|
167
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
169
168
|
),
|
|
170
169
|
(
|
|
171
170
|
"allocated_by",
|
|
@@ -208,14 +207,14 @@ class Migration(migrations.Migration):
|
|
|
208
207
|
"created",
|
|
209
208
|
models.DateTimeField(
|
|
210
209
|
blank=True,
|
|
211
|
-
default=
|
|
210
|
+
default=django.utils.timezone.now,
|
|
212
211
|
),
|
|
213
212
|
),
|
|
214
213
|
(
|
|
215
214
|
"modified",
|
|
216
215
|
models.DateTimeField(
|
|
217
216
|
blank=True,
|
|
218
|
-
default=
|
|
217
|
+
default=django.utils.timezone.now,
|
|
219
218
|
),
|
|
220
219
|
),
|
|
221
220
|
(
|
|
@@ -416,14 +415,14 @@ class Migration(migrations.Migration):
|
|
|
416
415
|
"created",
|
|
417
416
|
models.DateTimeField(
|
|
418
417
|
blank=True,
|
|
419
|
-
default=
|
|
418
|
+
default=django.utils.timezone.now,
|
|
420
419
|
),
|
|
421
420
|
),
|
|
422
421
|
(
|
|
423
422
|
"modified",
|
|
424
423
|
models.DateTimeField(
|
|
425
424
|
blank=True,
|
|
426
|
-
default=
|
|
425
|
+
default=django.utils.timezone.now,
|
|
427
426
|
),
|
|
428
427
|
),
|
|
429
428
|
(
|
|
@@ -515,7 +514,7 @@ class Migration(migrations.Migration):
|
|
|
515
514
|
),
|
|
516
515
|
(
|
|
517
516
|
"dispense_datetime",
|
|
518
|
-
models.DateTimeField(default=
|
|
517
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
519
518
|
),
|
|
520
519
|
("to_clinician", models.BooleanField(default=False)),
|
|
521
520
|
("to_clinician_datetime", models.DateTimeField(blank=True, null=True)),
|
|
@@ -567,14 +566,14 @@ class Migration(migrations.Migration):
|
|
|
567
566
|
"created",
|
|
568
567
|
models.DateTimeField(
|
|
569
568
|
blank=True,
|
|
570
|
-
default=
|
|
569
|
+
default=django.utils.timezone.now,
|
|
571
570
|
),
|
|
572
571
|
),
|
|
573
572
|
(
|
|
574
573
|
"modified",
|
|
575
574
|
models.DateTimeField(
|
|
576
575
|
blank=True,
|
|
577
|
-
default=
|
|
576
|
+
default=django.utils.timezone.now,
|
|
578
577
|
),
|
|
579
578
|
),
|
|
580
579
|
(
|
|
@@ -679,14 +678,14 @@ class Migration(migrations.Migration):
|
|
|
679
678
|
"created",
|
|
680
679
|
models.DateTimeField(
|
|
681
680
|
blank=True,
|
|
682
|
-
default=
|
|
681
|
+
default=django.utils.timezone.now,
|
|
683
682
|
),
|
|
684
683
|
),
|
|
685
684
|
(
|
|
686
685
|
"modified",
|
|
687
686
|
models.DateTimeField(
|
|
688
687
|
blank=True,
|
|
689
|
-
default=
|
|
688
|
+
default=django.utils.timezone.now,
|
|
690
689
|
),
|
|
691
690
|
),
|
|
692
691
|
(
|
|
@@ -777,7 +776,7 @@ class Migration(migrations.Migration):
|
|
|
777
776
|
),
|
|
778
777
|
(
|
|
779
778
|
"allocation_datetime",
|
|
780
|
-
models.DateTimeField(default=
|
|
779
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
781
780
|
),
|
|
782
781
|
(
|
|
783
782
|
"allocated_by",
|
|
@@ -828,14 +827,14 @@ class Migration(migrations.Migration):
|
|
|
828
827
|
"created",
|
|
829
828
|
models.DateTimeField(
|
|
830
829
|
blank=True,
|
|
831
|
-
default=
|
|
830
|
+
default=django.utils.timezone.now,
|
|
832
831
|
),
|
|
833
832
|
),
|
|
834
833
|
(
|
|
835
834
|
"modified",
|
|
836
835
|
models.DateTimeField(
|
|
837
836
|
blank=True,
|
|
838
|
-
default=
|
|
837
|
+
default=django.utils.timezone.now,
|
|
839
838
|
),
|
|
840
839
|
),
|
|
841
840
|
(
|
|
@@ -977,14 +976,14 @@ class Migration(migrations.Migration):
|
|
|
977
976
|
"created",
|
|
978
977
|
models.DateTimeField(
|
|
979
978
|
blank=True,
|
|
980
|
-
default=
|
|
979
|
+
default=django.utils.timezone.now,
|
|
981
980
|
),
|
|
982
981
|
),
|
|
983
982
|
(
|
|
984
983
|
"modified",
|
|
985
984
|
models.DateTimeField(
|
|
986
985
|
blank=True,
|
|
987
|
-
default=
|
|
986
|
+
default=django.utils.timezone.now,
|
|
988
987
|
),
|
|
989
988
|
),
|
|
990
989
|
(
|
|
@@ -1148,14 +1147,14 @@ class Migration(migrations.Migration):
|
|
|
1148
1147
|
"created",
|
|
1149
1148
|
models.DateTimeField(
|
|
1150
1149
|
blank=True,
|
|
1151
|
-
default=
|
|
1150
|
+
default=django.utils.timezone.now,
|
|
1152
1151
|
),
|
|
1153
1152
|
),
|
|
1154
1153
|
(
|
|
1155
1154
|
"modified",
|
|
1156
1155
|
models.DateTimeField(
|
|
1157
1156
|
blank=True,
|
|
1158
|
-
default=
|
|
1157
|
+
default=django.utils.timezone.now,
|
|
1159
1158
|
),
|
|
1160
1159
|
),
|
|
1161
1160
|
(
|
|
@@ -1246,7 +1245,7 @@ class Migration(migrations.Migration):
|
|
|
1246
1245
|
),
|
|
1247
1246
|
(
|
|
1248
1247
|
"dispense_datetime",
|
|
1249
|
-
models.DateTimeField(default=
|
|
1248
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
1250
1249
|
),
|
|
1251
1250
|
("to_clinician", models.BooleanField(default=False)),
|
|
1252
1251
|
("to_clinician_datetime", models.DateTimeField(blank=True, null=True)),
|
|
@@ -1306,14 +1305,14 @@ class Migration(migrations.Migration):
|
|
|
1306
1305
|
"created",
|
|
1307
1306
|
models.DateTimeField(
|
|
1308
1307
|
blank=True,
|
|
1309
|
-
default=
|
|
1308
|
+
default=django.utils.timezone.now,
|
|
1310
1309
|
),
|
|
1311
1310
|
),
|
|
1312
1311
|
(
|
|
1313
1312
|
"modified",
|
|
1314
1313
|
models.DateTimeField(
|
|
1315
1314
|
blank=True,
|
|
1316
|
-
default=
|
|
1315
|
+
default=django.utils.timezone.now,
|
|
1317
1316
|
),
|
|
1318
1317
|
),
|
|
1319
1318
|
(
|
|
@@ -1448,14 +1447,14 @@ class Migration(migrations.Migration):
|
|
|
1448
1447
|
"created",
|
|
1449
1448
|
models.DateTimeField(
|
|
1450
1449
|
blank=True,
|
|
1451
|
-
default=
|
|
1450
|
+
default=django.utils.timezone.now,
|
|
1452
1451
|
),
|
|
1453
1452
|
),
|
|
1454
1453
|
(
|
|
1455
1454
|
"modified",
|
|
1456
1455
|
models.DateTimeField(
|
|
1457
1456
|
blank=True,
|
|
1458
|
-
default=
|
|
1457
|
+
default=django.utils.timezone.now,
|
|
1459
1458
|
),
|
|
1460
1459
|
),
|
|
1461
1460
|
(
|
|
@@ -1614,14 +1613,14 @@ class Migration(migrations.Migration):
|
|
|
1614
1613
|
"created",
|
|
1615
1614
|
models.DateTimeField(
|
|
1616
1615
|
blank=True,
|
|
1617
|
-
default=
|
|
1616
|
+
default=django.utils.timezone.now,
|
|
1618
1617
|
),
|
|
1619
1618
|
),
|
|
1620
1619
|
(
|
|
1621
1620
|
"modified",
|
|
1622
1621
|
models.DateTimeField(
|
|
1623
1622
|
blank=True,
|
|
1624
|
-
default=
|
|
1623
|
+
default=django.utils.timezone.now,
|
|
1625
1624
|
),
|
|
1626
1625
|
),
|
|
1627
1626
|
(
|
|
@@ -1712,7 +1711,7 @@ class Migration(migrations.Migration):
|
|
|
1712
1711
|
),
|
|
1713
1712
|
(
|
|
1714
1713
|
"receive_datetime",
|
|
1715
|
-
models.DateTimeField(default=
|
|
1714
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
1716
1715
|
),
|
|
1717
1716
|
(
|
|
1718
1717
|
"item_count",
|
|
@@ -1764,14 +1763,14 @@ class Migration(migrations.Migration):
|
|
|
1764
1763
|
"created",
|
|
1765
1764
|
models.DateTimeField(
|
|
1766
1765
|
blank=True,
|
|
1767
|
-
default=
|
|
1766
|
+
default=django.utils.timezone.now,
|
|
1768
1767
|
),
|
|
1769
1768
|
),
|
|
1770
1769
|
(
|
|
1771
1770
|
"modified",
|
|
1772
1771
|
models.DateTimeField(
|
|
1773
1772
|
blank=True,
|
|
1774
|
-
default=
|
|
1773
|
+
default=django.utils.timezone.now,
|
|
1775
1774
|
),
|
|
1776
1775
|
),
|
|
1777
1776
|
(
|
|
@@ -1862,7 +1861,7 @@ class Migration(migrations.Migration):
|
|
|
1862
1861
|
),
|
|
1863
1862
|
(
|
|
1864
1863
|
"receive_item_datetime",
|
|
1865
|
-
models.DateTimeField(default=
|
|
1864
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
1866
1865
|
),
|
|
1867
1866
|
(
|
|
1868
1867
|
"name",
|
|
@@ -1938,14 +1937,14 @@ class Migration(migrations.Migration):
|
|
|
1938
1937
|
"created",
|
|
1939
1938
|
models.DateTimeField(
|
|
1940
1939
|
blank=True,
|
|
1941
|
-
default=
|
|
1940
|
+
default=django.utils.timezone.now,
|
|
1942
1941
|
),
|
|
1943
1942
|
),
|
|
1944
1943
|
(
|
|
1945
1944
|
"modified",
|
|
1946
1945
|
models.DateTimeField(
|
|
1947
1946
|
blank=True,
|
|
1948
|
-
default=
|
|
1947
|
+
default=django.utils.timezone.now,
|
|
1949
1948
|
),
|
|
1950
1949
|
),
|
|
1951
1950
|
(
|
|
@@ -2036,7 +2035,7 @@ class Migration(migrations.Migration):
|
|
|
2036
2035
|
),
|
|
2037
2036
|
(
|
|
2038
2037
|
"repack_datetime",
|
|
2039
|
-
models.DateTimeField(default=
|
|
2038
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
2040
2039
|
),
|
|
2041
2040
|
(
|
|
2042
2041
|
"qty",
|
|
@@ -2094,14 +2093,14 @@ class Migration(migrations.Migration):
|
|
|
2094
2093
|
"created",
|
|
2095
2094
|
models.DateTimeField(
|
|
2096
2095
|
blank=True,
|
|
2097
|
-
default=
|
|
2096
|
+
default=django.utils.timezone.now,
|
|
2098
2097
|
),
|
|
2099
2098
|
),
|
|
2100
2099
|
(
|
|
2101
2100
|
"modified",
|
|
2102
2101
|
models.DateTimeField(
|
|
2103
2102
|
blank=True,
|
|
2104
|
-
default=
|
|
2103
|
+
default=django.utils.timezone.now,
|
|
2105
2104
|
),
|
|
2106
2105
|
),
|
|
2107
2106
|
(
|
|
@@ -2192,7 +2191,7 @@ class Migration(migrations.Migration):
|
|
|
2192
2191
|
),
|
|
2193
2192
|
(
|
|
2194
2193
|
"request_datetime",
|
|
2195
|
-
models.DateTimeField(default=
|
|
2194
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
2196
2195
|
),
|
|
2197
2196
|
(
|
|
2198
2197
|
"containers_per_subject",
|
|
@@ -2287,14 +2286,14 @@ class Migration(migrations.Migration):
|
|
|
2287
2286
|
"created",
|
|
2288
2287
|
models.DateTimeField(
|
|
2289
2288
|
blank=True,
|
|
2290
|
-
default=
|
|
2289
|
+
default=django.utils.timezone.now,
|
|
2291
2290
|
),
|
|
2292
2291
|
),
|
|
2293
2292
|
(
|
|
2294
2293
|
"modified",
|
|
2295
2294
|
models.DateTimeField(
|
|
2296
2295
|
blank=True,
|
|
2297
|
-
default=
|
|
2296
|
+
default=django.utils.timezone.now,
|
|
2298
2297
|
),
|
|
2299
2298
|
),
|
|
2300
2299
|
(
|
|
@@ -2399,7 +2398,7 @@ class Migration(migrations.Migration):
|
|
|
2399
2398
|
),
|
|
2400
2399
|
(
|
|
2401
2400
|
"request_item_datetime",
|
|
2402
|
-
models.DateTimeField(default=
|
|
2401
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
2403
2402
|
),
|
|
2404
2403
|
("appt_datetime", models.DateTimeField(blank=True, null=True)),
|
|
2405
2404
|
("in_stock", models.BooleanField(default=False)),
|
|
@@ -2453,14 +2452,14 @@ class Migration(migrations.Migration):
|
|
|
2453
2452
|
"created",
|
|
2454
2453
|
models.DateTimeField(
|
|
2455
2454
|
blank=True,
|
|
2456
|
-
default=
|
|
2455
|
+
default=django.utils.timezone.now,
|
|
2457
2456
|
),
|
|
2458
2457
|
),
|
|
2459
2458
|
(
|
|
2460
2459
|
"modified",
|
|
2461
2460
|
models.DateTimeField(
|
|
2462
2461
|
blank=True,
|
|
2463
|
-
default=
|
|
2462
|
+
default=django.utils.timezone.now,
|
|
2464
2463
|
),
|
|
2465
2464
|
),
|
|
2466
2465
|
(
|
|
@@ -2551,7 +2550,7 @@ class Migration(migrations.Migration):
|
|
|
2551
2550
|
),
|
|
2552
2551
|
(
|
|
2553
2552
|
"transfer_datetime",
|
|
2554
|
-
models.DateTimeField(default=
|
|
2553
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
2555
2554
|
),
|
|
2556
2555
|
("item_count", models.PositiveIntegerField(null=True)),
|
|
2557
2556
|
(
|
|
@@ -2599,14 +2598,14 @@ class Migration(migrations.Migration):
|
|
|
2599
2598
|
"created",
|
|
2600
2599
|
models.DateTimeField(
|
|
2601
2600
|
blank=True,
|
|
2602
|
-
default=
|
|
2601
|
+
default=django.utils.timezone.now,
|
|
2603
2602
|
),
|
|
2604
2603
|
),
|
|
2605
2604
|
(
|
|
2606
2605
|
"modified",
|
|
2607
2606
|
models.DateTimeField(
|
|
2608
2607
|
blank=True,
|
|
2609
|
-
default=
|
|
2608
|
+
default=django.utils.timezone.now,
|
|
2610
2609
|
),
|
|
2611
2610
|
),
|
|
2612
2611
|
(
|
|
@@ -2697,7 +2696,7 @@ class Migration(migrations.Migration):
|
|
|
2697
2696
|
),
|
|
2698
2697
|
(
|
|
2699
2698
|
"transfer_item_datetime",
|
|
2700
|
-
models.DateTimeField(default=
|
|
2699
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
2701
2700
|
),
|
|
2702
2701
|
(
|
|
2703
2702
|
"history_id",
|
|
@@ -2744,14 +2743,14 @@ class Migration(migrations.Migration):
|
|
|
2744
2743
|
"created",
|
|
2745
2744
|
models.DateTimeField(
|
|
2746
2745
|
blank=True,
|
|
2747
|
-
default=
|
|
2746
|
+
default=django.utils.timezone.now,
|
|
2748
2747
|
),
|
|
2749
2748
|
),
|
|
2750
2749
|
(
|
|
2751
2750
|
"modified",
|
|
2752
2751
|
models.DateTimeField(
|
|
2753
2752
|
blank=True,
|
|
2754
|
-
default=
|
|
2753
|
+
default=django.utils.timezone.now,
|
|
2755
2754
|
),
|
|
2756
2755
|
),
|
|
2757
2756
|
(
|
|
@@ -2863,7 +2862,7 @@ class Migration(migrations.Migration):
|
|
|
2863
2862
|
("contact", models.CharField(blank=True, max_length=255, null=True)),
|
|
2864
2863
|
(
|
|
2865
2864
|
"supplier_datetime",
|
|
2866
|
-
models.DateTimeField(default=
|
|
2865
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
2867
2866
|
),
|
|
2868
2867
|
(
|
|
2869
2868
|
"history_id",
|
|
@@ -2910,14 +2909,14 @@ class Migration(migrations.Migration):
|
|
|
2910
2909
|
"created",
|
|
2911
2910
|
models.DateTimeField(
|
|
2912
2911
|
blank=True,
|
|
2913
|
-
default=
|
|
2912
|
+
default=django.utils.timezone.now,
|
|
2914
2913
|
),
|
|
2915
2914
|
),
|
|
2916
2915
|
(
|
|
2917
2916
|
"modified",
|
|
2918
2917
|
models.DateTimeField(
|
|
2919
2918
|
blank=True,
|
|
2920
|
-
default=
|
|
2919
|
+
default=django.utils.timezone.now,
|
|
2921
2920
|
),
|
|
2922
2921
|
),
|
|
2923
2922
|
(
|
|
@@ -3045,14 +3044,14 @@ class Migration(migrations.Migration):
|
|
|
3045
3044
|
"created",
|
|
3046
3045
|
models.DateTimeField(
|
|
3047
3046
|
blank=True,
|
|
3048
|
-
default=
|
|
3047
|
+
default=django.utils.timezone.now,
|
|
3049
3048
|
),
|
|
3050
3049
|
),
|
|
3051
3050
|
(
|
|
3052
3051
|
"modified",
|
|
3053
3052
|
models.DateTimeField(
|
|
3054
3053
|
blank=True,
|
|
3055
|
-
default=
|
|
3054
|
+
default=django.utils.timezone.now,
|
|
3056
3055
|
),
|
|
3057
3056
|
),
|
|
3058
3057
|
(
|
|
@@ -3204,14 +3203,14 @@ class Migration(migrations.Migration):
|
|
|
3204
3203
|
"created",
|
|
3205
3204
|
models.DateTimeField(
|
|
3206
3205
|
blank=True,
|
|
3207
|
-
default=
|
|
3206
|
+
default=django.utils.timezone.now,
|
|
3208
3207
|
),
|
|
3209
3208
|
),
|
|
3210
3209
|
(
|
|
3211
3210
|
"modified",
|
|
3212
3211
|
models.DateTimeField(
|
|
3213
3212
|
blank=True,
|
|
3214
|
-
default=
|
|
3213
|
+
default=django.utils.timezone.now,
|
|
3215
3214
|
),
|
|
3216
3215
|
),
|
|
3217
3216
|
(
|
|
@@ -3303,7 +3302,7 @@ class Migration(migrations.Migration):
|
|
|
3303
3302
|
),
|
|
3304
3303
|
(
|
|
3305
3304
|
"receive_datetime",
|
|
3306
|
-
models.DateTimeField(default=
|
|
3305
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
3307
3306
|
),
|
|
3308
3307
|
(
|
|
3309
3308
|
"item_count",
|
|
@@ -3347,14 +3346,14 @@ class Migration(migrations.Migration):
|
|
|
3347
3346
|
"created",
|
|
3348
3347
|
models.DateTimeField(
|
|
3349
3348
|
blank=True,
|
|
3350
|
-
default=
|
|
3349
|
+
default=django.utils.timezone.now,
|
|
3351
3350
|
),
|
|
3352
3351
|
),
|
|
3353
3352
|
(
|
|
3354
3353
|
"modified",
|
|
3355
3354
|
models.DateTimeField(
|
|
3356
3355
|
blank=True,
|
|
3357
|
-
default=
|
|
3356
|
+
default=django.utils.timezone.now,
|
|
3358
3357
|
),
|
|
3359
3358
|
),
|
|
3360
3359
|
(
|
|
@@ -3446,7 +3445,7 @@ class Migration(migrations.Migration):
|
|
|
3446
3445
|
),
|
|
3447
3446
|
(
|
|
3448
3447
|
"receive_item_datetime",
|
|
3449
|
-
models.DateTimeField(default=
|
|
3448
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
3450
3449
|
),
|
|
3451
3450
|
(
|
|
3452
3451
|
"name",
|
|
@@ -3514,14 +3513,14 @@ class Migration(migrations.Migration):
|
|
|
3514
3513
|
"created",
|
|
3515
3514
|
models.DateTimeField(
|
|
3516
3515
|
blank=True,
|
|
3517
|
-
default=
|
|
3516
|
+
default=django.utils.timezone.now,
|
|
3518
3517
|
),
|
|
3519
3518
|
),
|
|
3520
3519
|
(
|
|
3521
3520
|
"modified",
|
|
3522
3521
|
models.DateTimeField(
|
|
3523
3522
|
blank=True,
|
|
3524
|
-
default=
|
|
3523
|
+
default=django.utils.timezone.now,
|
|
3525
3524
|
),
|
|
3526
3525
|
),
|
|
3527
3526
|
(
|
|
@@ -3613,7 +3612,7 @@ class Migration(migrations.Migration):
|
|
|
3613
3612
|
),
|
|
3614
3613
|
(
|
|
3615
3614
|
"repack_datetime",
|
|
3616
|
-
models.DateTimeField(default=
|
|
3615
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
3617
3616
|
),
|
|
3618
3617
|
(
|
|
3619
3618
|
"qty",
|
|
@@ -3663,14 +3662,14 @@ class Migration(migrations.Migration):
|
|
|
3663
3662
|
"created",
|
|
3664
3663
|
models.DateTimeField(
|
|
3665
3664
|
blank=True,
|
|
3666
|
-
default=
|
|
3665
|
+
default=django.utils.timezone.now,
|
|
3667
3666
|
),
|
|
3668
3667
|
),
|
|
3669
3668
|
(
|
|
3670
3669
|
"modified",
|
|
3671
3670
|
models.DateTimeField(
|
|
3672
3671
|
blank=True,
|
|
3673
|
-
default=
|
|
3672
|
+
default=django.utils.timezone.now,
|
|
3674
3673
|
),
|
|
3675
3674
|
),
|
|
3676
3675
|
(
|
|
@@ -3762,7 +3761,7 @@ class Migration(migrations.Migration):
|
|
|
3762
3761
|
),
|
|
3763
3762
|
(
|
|
3764
3763
|
"request_datetime",
|
|
3765
|
-
models.DateTimeField(default=
|
|
3764
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
3766
3765
|
),
|
|
3767
3766
|
(
|
|
3768
3767
|
"containers_per_subject",
|
|
@@ -3849,14 +3848,14 @@ class Migration(migrations.Migration):
|
|
|
3849
3848
|
"created",
|
|
3850
3849
|
models.DateTimeField(
|
|
3851
3850
|
blank=True,
|
|
3852
|
-
default=
|
|
3851
|
+
default=django.utils.timezone.now,
|
|
3853
3852
|
),
|
|
3854
3853
|
),
|
|
3855
3854
|
(
|
|
3856
3855
|
"modified",
|
|
3857
3856
|
models.DateTimeField(
|
|
3858
3857
|
blank=True,
|
|
3859
|
-
default=
|
|
3858
|
+
default=django.utils.timezone.now,
|
|
3860
3859
|
),
|
|
3861
3860
|
),
|
|
3862
3861
|
(
|
|
@@ -3962,7 +3961,7 @@ class Migration(migrations.Migration):
|
|
|
3962
3961
|
),
|
|
3963
3962
|
(
|
|
3964
3963
|
"request_item_datetime",
|
|
3965
|
-
models.DateTimeField(default=
|
|
3964
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
3966
3965
|
),
|
|
3967
3966
|
("appt_datetime", models.DateTimeField(blank=True, null=True)),
|
|
3968
3967
|
("in_stock", models.BooleanField(default=False)),
|
|
@@ -4008,14 +4007,14 @@ class Migration(migrations.Migration):
|
|
|
4008
4007
|
"created",
|
|
4009
4008
|
models.DateTimeField(
|
|
4010
4009
|
blank=True,
|
|
4011
|
-
default=
|
|
4010
|
+
default=django.utils.timezone.now,
|
|
4012
4011
|
),
|
|
4013
4012
|
),
|
|
4014
4013
|
(
|
|
4015
4014
|
"modified",
|
|
4016
4015
|
models.DateTimeField(
|
|
4017
4016
|
blank=True,
|
|
4018
|
-
default=
|
|
4017
|
+
default=django.utils.timezone.now,
|
|
4019
4018
|
),
|
|
4020
4019
|
),
|
|
4021
4020
|
(
|
|
@@ -4107,7 +4106,7 @@ class Migration(migrations.Migration):
|
|
|
4107
4106
|
),
|
|
4108
4107
|
(
|
|
4109
4108
|
"transfer_datetime",
|
|
4110
|
-
models.DateTimeField(default=
|
|
4109
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
4111
4110
|
),
|
|
4112
4111
|
("item_count", models.PositiveIntegerField(null=True)),
|
|
4113
4112
|
],
|
|
@@ -4147,14 +4146,14 @@ class Migration(migrations.Migration):
|
|
|
4147
4146
|
"created",
|
|
4148
4147
|
models.DateTimeField(
|
|
4149
4148
|
blank=True,
|
|
4150
|
-
default=
|
|
4149
|
+
default=django.utils.timezone.now,
|
|
4151
4150
|
),
|
|
4152
4151
|
),
|
|
4153
4152
|
(
|
|
4154
4153
|
"modified",
|
|
4155
4154
|
models.DateTimeField(
|
|
4156
4155
|
blank=True,
|
|
4157
|
-
default=
|
|
4156
|
+
default=django.utils.timezone.now,
|
|
4158
4157
|
),
|
|
4159
4158
|
),
|
|
4160
4159
|
(
|
|
@@ -4246,7 +4245,7 @@ class Migration(migrations.Migration):
|
|
|
4246
4245
|
),
|
|
4247
4246
|
(
|
|
4248
4247
|
"transfer_item_datetime",
|
|
4249
|
-
models.DateTimeField(default=
|
|
4248
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
4250
4249
|
),
|
|
4251
4250
|
],
|
|
4252
4251
|
options={
|
|
@@ -4285,14 +4284,14 @@ class Migration(migrations.Migration):
|
|
|
4285
4284
|
"created",
|
|
4286
4285
|
models.DateTimeField(
|
|
4287
4286
|
blank=True,
|
|
4288
|
-
default=
|
|
4287
|
+
default=django.utils.timezone.now,
|
|
4289
4288
|
),
|
|
4290
4289
|
),
|
|
4291
4290
|
(
|
|
4292
4291
|
"modified",
|
|
4293
4292
|
models.DateTimeField(
|
|
4294
4293
|
blank=True,
|
|
4295
|
-
default=
|
|
4294
|
+
default=django.utils.timezone.now,
|
|
4296
4295
|
),
|
|
4297
4296
|
),
|
|
4298
4297
|
(
|
|
@@ -4405,7 +4404,7 @@ class Migration(migrations.Migration):
|
|
|
4405
4404
|
("contact", models.CharField(blank=True, max_length=255, null=True)),
|
|
4406
4405
|
(
|
|
4407
4406
|
"supplier_datetime",
|
|
4408
|
-
models.DateTimeField(default=
|
|
4407
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
4409
4408
|
),
|
|
4410
4409
|
],
|
|
4411
4410
|
options={
|
|
@@ -4842,9 +4841,7 @@ class Migration(migrations.Migration):
|
|
|
4842
4841
|
migrations.AddField(
|
|
4843
4842
|
model_name="container",
|
|
4844
4843
|
name="created",
|
|
4845
|
-
field=models.DateTimeField(
|
|
4846
|
-
blank=True, default=django_audit_fields.models.audit_model_mixin.utcnow
|
|
4847
|
-
),
|
|
4844
|
+
field=models.DateTimeField(blank=True, default=django.utils.timezone.now),
|
|
4848
4845
|
),
|
|
4849
4846
|
migrations.AddField(
|
|
4850
4847
|
model_name="container",
|
|
@@ -4938,9 +4935,7 @@ class Migration(migrations.Migration):
|
|
|
4938
4935
|
migrations.AddField(
|
|
4939
4936
|
model_name="container",
|
|
4940
4937
|
name="modified",
|
|
4941
|
-
field=models.DateTimeField(
|
|
4942
|
-
blank=True, default=django_audit_fields.models.audit_model_mixin.utcnow
|
|
4943
|
-
),
|
|
4938
|
+
field=models.DateTimeField(blank=True, default=django.utils.timezone.now),
|
|
4944
4939
|
),
|
|
4945
4940
|
migrations.AddField(
|
|
4946
4941
|
model_name="container",
|
|
@@ -5175,7 +5170,7 @@ class Migration(migrations.Migration):
|
|
|
5175
5170
|
model_name="historicalstock",
|
|
5176
5171
|
name="stock_datetime",
|
|
5177
5172
|
field=models.DateTimeField(
|
|
5178
|
-
default=
|
|
5173
|
+
default=django.utils.timezone.now, help_text="date stock record created"
|
|
5179
5174
|
),
|
|
5180
5175
|
),
|
|
5181
5176
|
migrations.AddField(
|
|
@@ -5433,7 +5428,7 @@ class Migration(migrations.Migration):
|
|
|
5433
5428
|
model_name="stock",
|
|
5434
5429
|
name="stock_datetime",
|
|
5435
5430
|
field=models.DateTimeField(
|
|
5436
|
-
default=
|
|
5431
|
+
default=django.utils.timezone.now, help_text="date stock record created"
|
|
5437
5432
|
),
|
|
5438
5433
|
),
|
|
5439
5434
|
migrations.AddField(
|