django_ip_authn

Software screenshot:
django_ip_authn
Software informatie:
Versie: 0.2.2
Upload datum: 14 Apr 15
Ontwikkelaar: Kirit Saelensminde
Licentie: Gratis
Populariteit: 12

Rating: 2.5/5 (Total Votes: 2)

django_ip_authn is een Django app die IP-nummer verificatie op basis biedt voor Django.
Te installeren voeg de middleware om MIDDLEWARE_CLASSES:
'Django_ip_authn.authentication.Middleware'
Je moet ook de authenticatie backend toe te voegen aan AUTHENTICATION_BACKENDS. Dit zal waarschijnlijk niet al bestaan, in welk geval u het geheel van dit willen:
AUTHENTICATION_BACKENDS = (
& Nbsp; 'django.contrib.auth.backends.ModelBackend',
& Nbsp; 'django_ip_authn.authentication.Authenticate',
)
Standaard zal het niet verifiëren totdat je ook toevoegen in de IP-nummers die het mogelijk moet maken:
VALID_IP_NUMBERS = [
& Nbsp; '127.0.0.1', '127.0.1.1', # Laat alleen localhost IP-nummers
]
Momenteel wordt deze automatisch de gebruiker met ID-1 toe te staan, dit is de gebruiker die u maakt tijdens de eerste databank oprichting in Django

Eisen .

< ul>

  • Python
  • Django
  • Andere software van ontwikkelaar Kirit Saelensminde

    django-async
    django-async

    20 Feb 15

    Reacties op django_ip_authn

    Reacties niet gevonden
    Commentaar toe te voegen
    Zet op de beelden!