#20066 closed New feature (wontfix)
Allow importing and using `django.contrib.auth.hashers` outside of Django project
| Reported by: | Ram Rachum | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.auth | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Hi,
I wanted to use django.contrib.auth.hashers in a non-Django project but Django complained about no settings module. Please allow using this great code outside of a Django project!
Note:
See TracTickets
for help on using tickets.
Please see https://docs.djangoproject.com/en/dev/topics/settings/#using-settings-without-setting-django-settings-module - you just need to use
settings.configure().