django_oneall package

Submodules

django_oneall.admin module

django_oneall.app module

class django_oneall.app.AppSettings[source]

Bases: object

credentials

Provides the credentials dictionary for the OneAll connection.

default_url

Default redirect URL after login if next is not provided. This is just a standard Django setting.

login_widget(overlay=None)[source]

Provides the login widget settings as a dictionary, with an optional overlay.

max_username_length

Maximum length of usernames that are generated by the authentication app. Defaults to 30, which is compatible with the full Django 1.x branch.

When store_user_info is set to False, this will be the exact username length of authenticated users, and this calculated username will be used to determine whether that’s a new user or not.

If you used django-oneall<1.3 with Django>=1.10, some of the users will be duplicate with the larger length. Pseudorandom usernames, however, provide plenty of entropy at 30 characters, so we’re restring to that at django-oneall>=1.3. Verify your data so your existing user accounts are not mis-identified.

share_widget

Provides the share widget configuration.

store_user_info

Whether to store personally identifiable information from users. Defaults to True.

token_expiration

The amount of time an e-mail login token is valid for.

exception django_oneall.app.MissingOneAllSettings(msg=None)[source]

Bases: KeyError

django_oneall.auth module

django_oneall.forms module

class django_oneall.forms.EmailForm(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, field_order=None, use_required_attribute=None, renderer=None)[source]

Bases: django.forms.forms.Form

base_fields = OrderedDict([('email', <django.forms.fields.EmailField object>)])
declared_fields = OrderedDict([('email', <django.forms.fields.EmailField object>)])
media

django_oneall.models module

django_oneall.tests module

class django_oneall.tests.TestOneAll(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

setUp()[source]

django_oneall.urls module

django_oneall.views module

Module contents