|
@@ -28,10 +28,6 @@ def ldap_hash(password):
|
|
|
return password
|
|
|
|
|
|
|
|
|
-if __name__ == '__main__':
|
|
|
- print(ldap_hash('coin'))
|
|
|
-
|
|
|
-
|
|
|
def send_templated_email(subject, to, template_to_use, context, attachements, from_email=None):
|
|
|
"""
|
|
|
Send a multialternative email based on html and optional txt template.
|
|
@@ -80,3 +76,7 @@ def delete_selected(modeladmin, request, queryset):
|
|
|
obj.delete()
|
|
|
|
|
|
delete_selected.short_description = "Supprimer tous les objets sélectionnés."
|
|
|
+
|
|
|
+
|
|
|
+if __name__ == '__main__':
|
|
|
+ print(ldap_hash('coin'))
|