Skip to main content

juntagrico_assignment_request

juntagrico-ci Maintainability Code Coverage image image image image image image image

This is an extension for juntagrico. You can find more information about juntagrico here (https://github.com/juntagrico/juntagrico)

It allows members to request assignments for jobs they have done, that were not announced.

Installation

  1. Add juntagrico-assignment-request to your requirements.txt
  2. Add 'juntagrico_assignment_request', to the INSTALLED_APPS in your settings.py above juntagrico
  3. Add path(r'', include('juntagrico_assignment_request.urls')), at the end of your urls.py
  4. Redeploy your project (and apply migrations)

Configuration

When requesting an assignment, members can select the person (confirmer) that can confirm that they did a job. To add people to this selection you will have to add this permission to that user: juntagrico_assignment_request | Arbeitseinsatz Anfrage | Kann selbständige Arbeitseinsätze bestätigen

If you want to allow an activity area coordinator to confirm requests, but only on the areas they coordinate, add this permission to that user: juntagrico_assignment_request | Arbeitseinsatz Anfrage | Kann selbständige Arbeitseinsätze im eigenen Tätigkeitsbereich bestätigen

Only the selected confirmer, will be informed about the request by email and can see the request.

If members don't select any confirmer all users with the following permission will receive a notification and can see the request: juntagrico_assignment_request | Arbeitseinsatz Anfrage | Wird über nicht abgesprochene Arbeitseinsätze informiert

The ASSIGNMENT_UNIT setting is respected.

ASSIGNMENT_REQUEST_AREAS

If you need to limit the activity areas that can be selected in the requests, set this setting to a function, that takes an ActivityArea queryset as the first argument and returns a filtered queryset. By default, all activity areas can be selected.

Example: Include only visible activity areas:

def only_visible(queryset):
    return queryset.filter(hidden=False)

ASSIGNMENT_REQUEST_AREAS = only_visible

Template Blocks

See docs on how to set up template overrides

template/assignments_request/request.html|instructions

Change the instructions at the top of the request form

Usage

  1. Members will see a new entry in the menu to request assignments
  2. They are presented with a form to fill out the details of the job they did
  3. Below the form, they see a list of assignments that they already sent with the option to edit or delete them
  4. Upon sending the form, the selected confirmer (or the fallback users) will be informed by email
  5. The confirmer can modify the assignment amount, accept, deny or just send a message to the member
    • For convenience, there is a one click option to confirm the assignment in the email
  6. Once accepted, the member is informed, and an assignment is created

Admin modifications

The extension creates job types and jobs on the fly behind the scenes as they are needed to create the assignments and show them to the member that made them. In order to not clutter the admin views with automatically generated content, these jobs and job types are hidden. As a side effect there will be assignments that have a valid job link, but when you follow that job, you will be told that no job with the given id exists.

Screenshots

New menu entry

New menu entry

Request Form

Request Form

Overview about reported assignments

Overview

Form to accept/deny the request

Accept/Deny Form

Confirmation by mail for the requester

Mail Confirmation

The assignment appears in the list

New menu entry

Metadata

Release files for juntagrico-assignment-request 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for juntagrico-assignment-request 2.0.0
File Size Uploaded
juntagrico_assignment_request-2.0.0.tar.gz 28.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for juntagrico-assignment-request 2.0.0
File Interpreter ABI Platform
juntagrico_assignment_request-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 69.4 kB

Release files / juntagrico_assignment_request-2.0.0.tar.gz

Download URL juntagrico_assignment_request-2.0.0.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
923e313b75158799ee3626a686e1b05d70d6f0cc4dd0e34934aa572762c15fdb
BLAKE2b-256 checksum
How to use checksums
e6d3ea0ceb5864f1c1150d6b7e33d71f49b8ae1254015639f928f00b38c90c77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release files / juntagrico_assignment_request-2.0.0-py3-none-any.whl

Download URL juntagrico_assignment_request-2.0.0-py3-none-any.whl
Size 41.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b416786bbf9537c30ad1b0157225dfe5c8eb5ae26cf0a83beda81993ca4318b5
BLAKE2b-256 checksum
How to use checksums
2fe00624167690889889219ae68810d1268e4182b57c61c5b0559f038bf5909c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.7.0

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.0

1 release file

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page