Skip to main content

A Django App to let users securely change the email associated with their account.

Project description

# Django Email Changer

Django app to securely change a user’s email. This app will email your user at the new email with an activation URL. Once they click the link in the email, the new email will be put into their user account.

## Settings

Django Email Changer has some custom settings it looks for.

### EMAIL_CHANGE_NOTIFICATION_SUBJECT

The subject of email change notifications.

Default: “Email Change Activation”

### EMAIL_CHANGE_NOTIFICATION_EMAIL_TEMPLATE

The template for email change notifications.

Default: “django_email_changer/email_change_notification.txt”

### EMAIL_CHANGE_NOTIFICATION_FROM

Who is the email change notification from.

Default: “no-reply@example.com”

### EMAIL_CHANGE_ACTIVATION_SUCCESS_URL

When a user activates their email, we’ll redirect to this URL so you can execute your code.

Default: “/user-email-changed”

### EMAIL_CHANGE_SUCCESS_URL

After a successfully submitting a new email, the user is forwarded to this URL.

Default: “/new-email-activation-sent”

### CHANGE_EMAIL_CODE_EXPIRY_TIME

A dictionary of arguments for datetime.timedelta. If modification is more than CHANGE_EMAIL_CODE_EXPIRY_TIME days/hours/minutes/etc old then the modification will not be applied.

Default: {“days”: 3}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-email-changer-0.1.2.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file django-email-changer-0.1.2.tar.gz.

File metadata

File hashes

Hashes for django-email-changer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 31b061ac9f62a5140dfaf52a1aceb841b8e792cfee093ebf1d198e94f6995982
MD5 3650dd78a96c570d3a5c85a162ea8325
BLAKE2b-256 80280f69751d2bce5797f5ec5782dfea97e0f802499a987d8c478068115ba995

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page