Changes between Initial Version and Version 1 of Ticket #28163, comment 4
- Timestamp:
- Jul 23, 2017, 8:18:18 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28163, comment 4
initial v1 4 4 {{{#!python 5 5 def basic_password_validator(class_name, **kwargs): 6 MODULE_PATH = 'django.contrib.auth.password_validation .'7 validator = {'NAME': '.'.join( MODULE_PATH, class_name)}6 MODULE_PATH = 'django.contrib.auth.password_validation' 7 validator = {'NAME': '.'.join([MODULE_PATH, class_name])} 8 8 validator.update(kwargs) 9 9 return validator