yourcelf / django-registration-defaults

Default implementations of the 15 templates required to do full login, logout, registration and password retrieval when using django-registration.
277 stars 77 forks source link

Replace hardcoded URL in activation email with a reversed URL. #9

Closed reverie closed 12 years ago

reverie commented 12 years ago

The current version of activation_email.txt uses a hardcoded URL for the activation link. This is broken on sites that use a different URL prefix for the registration app (i.e., one other than "accounts"). My patch fixes the problem by using the {% url %} template tag.

yourcelf commented 12 years ago

Thanks!