intranet.apps.emailfwd package

Subpackages

Submodules

intranet.apps.emailfwd.apps module

class intranet.apps.emailfwd.apps.EmailfwdConfig(app_name, app_module)[source]

Bases: AppConfig

name = 'intranet.apps.emailfwd'

intranet.apps.emailfwd.forms module

class intranet.apps.emailfwd.forms.SeniorEmailForwardForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]

Bases: ModelForm

class Meta[source]

Bases: object

fields = ['email']
model

alias of SeniorEmailForward

declared_fields = {}

intranet.apps.emailfwd.models module

class intranet.apps.emailfwd.models.SeniorEmailForward(id, user, email)[source]

Bases: Model

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

email

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

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

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

user_id

intranet.apps.emailfwd.tests module

class intranet.apps.emailfwd.tests.EmailFwdTest(methodName='runTest')[source]

Bases: IonTestCase

test_email_fwd()[source]

Email Forward sanity check.

class intranet.apps.emailfwd.tests.GetSeniorForwardsTest(methodName='runTest')[source]

Bases: IonTestCase

test_getting_forwards()[source]

Test ability to retrieve senior forwards.

intranet.apps.emailfwd.urls module

intranet.apps.emailfwd.views module

Module contents