Giter Site home page Giter Site logo

django-password-policies-iplweb's Introduction

django-password-policies

travis coverage Latest version on PyPI

django-password-policies-iplweb is an application for the Django framework that provides unicode-aware password policies on password changes and resets and a mechanism to force password changes.

As for now (Jan 2021), this fork is actively maintained by |iplweb|

Requirements

This application requires Django 2.2 or newer

Documentation

A detailled documentation is available on the project's GitHub Pages.

django-password-policies-iplweb's People

Contributors

aclark4life avatar blag avatar davepeake avatar dkrnl avatar ehooo avatar gonzalobustos avatar jakenbuhler avatar luk156 avatar madeng84 avatar mjschultz avatar mkoistinen avatar mpasternak avatar santiago-blanco-a3sec avatar starenka avatar tarak avatar tpeaton avatar xusy2k avatar zaan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

django-password-policies-iplweb's Issues

How can I use it?

I have install it use pip and then put it in the “installed apps” in settings.py.
I can see it in Admin , but how can it be effect?
image

Shallow Documentation

I have come across this package a fork from the original package hopping to see the changes that have been implemented from the original project. However, there is harly any documentation. The original project is no longer compatible with the latest django packages.

Can you assist on how to install and configure this package on a django project. I am currently on django 5.0.1

Django 3.2

Hello, does this package work with Django 3.2?

Bypass AUTH_PASSWORD_VALIDATORS

The setting AUTH_PASSWORD_VALIDATORS was not used when change password.

The form password_policies.forms.PasswordPoliciesForm not use the function django.contrib.auth.password_validation.validate_password to validate the new password.

That could cause an insecure state, becase the final user could think the restriction used in a basic Django are aplied when that not the case.

Also allows to add password validators from 3 parties.

Missing migrations

I have installed django-password-policies-iplweb 0.8.2 version using pip

Collecting django-password-policies-iplweb==0.8.2
  Downloading django_password_policies_iplweb-0.8.2-py3-none-any.whl (177 kB)

and it seems that some migrations have to be done:

Migrations for 'password_policies':
  /usr/local/lib/python3.7/site-packages/password_policies/migrations/0003_auto_20210713_1349.py
    - Alter field created on passwordprofile
    - Alter field last_changed on passwordprofile

This seems it affects to 0.8.3 version, develop and master branches too.

Environment:

  • Debian 10 (buster)
  • Python 3.7
  • Django 2.2

User “Zero-cost” exceptions

In python 3.11 are implemented a performance for try blocks:

  • “Zero-cost” exceptions are implemented, eliminating the cost of try statements when no exception is raised. (Contributed by Mark Shannon in bpo-40222.)

On the PR #28 the way that manage the Django 3.0 deprecation imports are not use this performance.
We need to reorder the importation in the try block to use that improve.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.