Skip to main content

Automation Common is a simple Django app that provides common functionality across different Django projects of the UofC UIS Automation team.

Quick start

testfixtures

  1. Add “automationcommon” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'automationcommon',
    ]
  2. Include the automationcommon URLconf in your project urls.py like this:

    url(r'', include('automationcommon.urls')),
  3. Run python manage.py migrate to create the automationcommon models.

  4. All module logging writes to a logger named ‘automationcommon’

  5. The unittests can be run using the runtests.py script.

  6. 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',
        ...
    )

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)

Source distribution for django-automationcommon 1.12
File Size Uploaded
django-automationcommon-1.12.tar.gz 32.9 kB Details

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

Release history Release notifications | RSS feed

This release

1.12 This release

1 release file

1.11

1 release file

1.10

1 release file

1.9

1 release file

1.8

1 release file

1.7.1

1 release file

1.7

1 release file

1.6

1 release file

1.5

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.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