changed the url in email activation
authorNishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 10:30:26 +0530
changeset 261 d736049a518f
parent 260 8b891483e052
child 262 d152c2211a3a
changed the url in email activation
settings.py
templates/registration/activation_email.txt
--- a/settings.py	Fri Jan 07 10:02:02 2011 +0530
+++ b/settings.py	Fri Jan 07 10:30:26 2011 +0530
@@ -104,4 +104,3 @@
 #django-registration
 ACCOUNT_ACTIVATION_DAYS = 7
 DEFAULT_FROM_EMAIL = 'Admin <admin@fossee.in>'
-
--- a/templates/registration/activation_email.txt	Fri Jan 07 10:02:02 2011 +0530
+++ b/templates/registration/activation_email.txt	Fri Jan 07 10:30:26 2011 +0530
@@ -1,7 +1,7 @@
 Welcome to PyTasks:
 
 Click on the following link 
-http://{% url site %}/accounts/activate/{{activation_key}}
+http://localhost:8000/accounts/activate/{{activation_key}}
 and activate your account.
 Note that the account has to activated within {{expiration_days}} days