tardis.apps.equipment package

Submodules

tardis.apps.equipment.admin module

tardis.apps.equipment.forms module

class tardis.apps.equipment.forms.EquipmentSearchForm(data=None, files=None, auto_id=u'id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False)

Bases: django.forms.forms.Form

base_fields = OrderedDict([('key', <django.forms.fields.CharField object>), ('description', <django.forms.fields.CharField object>), ('make', <django.forms.fields.CharField object>), ('model', <django.forms.fields.CharField object>), ('type', <django.forms.fields.CharField object>), ('serial', <django.forms.fields.CharField object>)])
declared_fields = OrderedDict([('key', <django.forms.fields.CharField object>), ('description', <django.forms.fields.CharField object>), ('make', <django.forms.fields.CharField object>), ('model', <django.forms.fields.CharField object>), ('type', <django.forms.fields.CharField object>), ('serial', <django.forms.fields.CharField object>)])
media

tardis.apps.equipment.models module

class tardis.apps.equipment.models.Equipment(id, key, description, make, model, type, serial, comm, decomm, url)

Bases: django.db.models.base.Model

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

dataset
objects = <django.db.models.manager.Manager object>

tardis.apps.equipment.tests module

tests.py http://docs.djangoproject.com/en/dev/topics/testing/

class tardis.apps.equipment.tests.EquipmentTestCase(methodName='runTest')

Bases: django.test.testcases.TestCase

fixtures = ['initial_data.json']
setUp()
testEquipmentDetail()
testEquipmentList()
testSearchEquipmentForm()
testSearchEquipmentResult()
tardis.apps.equipment.tests.suite()

tardis.apps.equipment.urls module

tardis.apps.equipment.views module

tardis.apps.equipment.views.index(request)
tardis.apps.equipment.views.search(request)
tardis.apps.equipment.views.view_id(request, object_id)
tardis.apps.equipment.views.view_key(request, object_key)

Module contents