Welcome to tally-system’s documentation!¶
Tally Application:
Forms¶
Audit Form¶
Candidate Form¶
- class tally_system.apps.tally.forms.candidate_form.CandidateForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.util.ErrorList'>, label_suffix=':', empty_permitted=False)[source]¶
- base_fields = {'votes': <django.forms.fields.IntegerField object at 0x3d5c290>}¶
- media¶
Candidate Formset¶
Center Details Form¶
Clearance Form¶
Login Form¶
New Result Form¶
Pass to Quality Control Form¶
Password Change Form¶
- class tally_system.apps.tally.forms.password_change.PasswordChangeForm(user, *args, **kwargs)[source]¶
- base_fields = {'old_password': <django.forms.fields.CharField object at 0x3e97f10>, 'new_password1': <django.forms.fields.CharField object at 0x3ea0fd0>, 'new_password2': <django.forms.fields.CharField object at 0x3ea07d0>}¶
- media¶
Reconciliation Form¶
Remove Center Form¶
Remove Station Form¶
Models¶
Archive¶
Audit¶
Ballot¶
Candidate¶
Center¶
Clearance¶
Office¶
Quality Control¶
Quarantine Check¶
Reconciliation Form¶
Result¶
Result Form¶
Station¶
Sub Constituency¶
User Profile¶
Views¶
Archive¶
Clearance¶
Corrections¶
Data Entry¶
Home¶
Intake¶
Profile¶
Quality Control¶
Super Admin¶
Reports - Offices¶
Reports - Races¶
Libraries:
Permissions¶
Models¶
BaseModel¶
- class tally_system.libs.models.base_model.BaseModel(*args, **kwargs)[source]¶
-
- BaseModel.get_next_by_created_date(*moreargs, **morekwargs)¶
- BaseModel.get_next_by_modified_date(*moreargs, **morekwargs)¶
- BaseModel.get_previous_by_created_date(*moreargs, **morekwargs)¶
- BaseModel.get_previous_by_modified_date(*moreargs, **morekwargs)¶
Dependencies¶
Views¶
Corrections¶
Exports¶
Form State¶
Mixins¶
Pagination¶
Session¶
- tally_system.libs.views.session.session_matches_post_result_form(post_data, request)[source]¶
Verify that result for in post data matches session data.
Parameters: - post_date – The post data to retrieve the result form key from.
- request – The request to retrieve the session result form key from.
Raises: SuspiciousOperation if the session and form keys do not match.
Returns: The result form private key.