renamed send_activation to resend_activation .
--- a/reg/site/urls.py Tue Apr 13 12:03:12 2010 +0530
+++ b/reg/site/urls.py Tue Apr 13 12:05:38 2010 +0530
@@ -8,7 +8,7 @@
(r'^logout/$', reg_views.user_logout),
(r'^register/$', reg_views.user_register),
(r'^account_created/$', reg_views.account_created),
- (r'^send_activation/$', reg_views.send_activation),
+ (r'^resend_activation/$', reg_views.resend_activation),
(r'^profile/view/$', reg_views.view_profile),
(r'^profile/edit/$', reg_views.edit_profile),
(r'^password_reset/$', reg_views.reset_password),
--- a/reg/views.py Tue Apr 13 12:03:12 2010 +0530
+++ b/reg/views.py Tue Apr 13 12:05:38 2010 +0530
@@ -90,7 +90,7 @@
user = request.user
return render_to_response('account_created.html', {'user':user})
-def send_activation(request):
+def resend_activation(request):
try:
email = request.GET['email']
--- a/templates/account_inactive.html Tue Apr 13 12:03:12 2010 +0530
+++ b/templates/account_inactive.html Tue Apr 13 12:05:38 2010 +0530
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% block content %}
Your account is inactive. An activation email has been sent to your email address.<br />
-<a href="/reg/send_activation/?email={{email}}">Click here</a> to resend the activation email.<br />
+<a href="/reg/resend_activation/?email={{email}}">Click here</a> to resend the activation email.<br />
<a href="/reg">click here</a> to go to home page.
{% endblock %}