Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/d/j/django-otp-0.2.7/django_otp/plugins/otp_static/management/commands/addstatictoken.py   django-otp(Download)
    get_user_model = lambda: User
 
from django_otp.plugins.otp_static.models import StaticDevice, StaticToken
 
 

src/d/j/django-two-factor-auth-HEAD/two_factor/views/core.py   django-two-factor-auth(Download)
import django_otp
from django_otp.decorators import otp_required
from django_otp.plugins.otp_static.models import StaticToken, StaticDevice
from django_otp.util import random_hex
from two_factor import signals