tldap.django package#
Subpackages#
Submodules#
tldap.django.apps module#
tldap.django.helpers module#
Django specific database helper functions.
tldap.django.middleware module#
Transaction middleware for Django.
- class tldap.django.middleware.TransactionMiddleware(get_response)[source]#
Bases:
MiddlewareMixin
Transaction middleware. If this is enabled, each view function will be run with commit_on_response activated - that way a save() doesn’t do a direct commit, the commit is done when a successful response is created. If an exception happens, the database is rolled back.
tldap.django.models module#
DB model for a counter to keep track of next uidNumber and gidNumber to use for new LDAP objects.
- class tldap.django.models.Counters(*args, **kwargs)[source]#
Bases:
Model
Keep track of next uidNumber and gidNumber to use for new LDAP objects.
- exception DoesNotExist#
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned#
Bases:
MultipleObjectsReturned
- count#
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.
- name#
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>#
- scheme#
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Module contents#
Django function support.