Automation Common
Automation Common is a simple Django app that provides common functionality across different Django projects of the UofC UIS Automation team.
Quick start
testfixtures
Add “automationcommon” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'automationcommon', ]Include the automationcommon URLconf in your project urls.py like this:
url(r'', include('automationcommon.urls')),Run python manage.py migrate to create the automationcommon models.
All module logging writes to a logger named ‘automationcommon’
The unittests can be run using the runtests.py script.
This module has an audit trail feature that allows you to capture update to / deletes of selected models. To track changes to a model simple use the ModelChangeMixin (preceding models.Model). To capture the “editor” use automationcommon.models.set_local_user() to set the user to be used in the audit trail or configure your app like this:
MIDDLEWARE_CLASSES = ( ... 'automationcommon.middleware.RequestUserMiddleware', ... )
Metadata
Release files for django-automationcommon 1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-automationcommon-1.12.tar.gz | 32.9 kB | Without provenance | Details for django-automationcommon-1.12.tar.gz |
Release files / django-automationcommon-1.12.tar.gz
| Download URL | django-automationcommon-1.12.tar.gz |
|---|---|
| Size | 32.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7ac022a1acb16a27397320dbbec9f87edd282582c1f4eb30e063ab883a501d8
|
|
BLAKE2b-256 checksum How to use checksums |
4288eefa716cac66729a3988d713338d82d1c9082e6ae19d7af91b9d62bbfcf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-automationcommon 1.12
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.