Skip to content

Commit

Permalink
Fixes issue 7 - breakage introduced in r43
Browse files Browse the repository at this point in the history
git-svn-id: http://django-email-confirmation.googlecode.com/svn/trunk@44 e143efbd-a74b-0410-b764-bd10452ab0ba
  • Loading branch information
jezdez committed Jan 21, 2009
1 parent 0fad012 commit 3cebaa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions devproject/emailconfirmation/models.py
Expand Up @@ -93,12 +93,12 @@ def send_confirmation(self, email_address):
current_site = Site.objects.get_current()
# check for the url with the dotted view path
try:
path = reverse(
"emailconfirmation.views.confirm_email", [confirmation_key])
path = reverse("emailconfirmation.views.confirm_email",
args=[confirmation_key])
except NoReverseMatch:
# or get path with named urlconf instead
path = reverse(
"emailconfirmation_confirm_email", [confirmation_key])
"emailconfirmation_confirm_email", args=[confirmation_key])
activate_url = u"http://%s%s" % (unicode(current_site.domain), path)
context = {
"user": email_address.user,
Expand Down

0 comments on commit 3cebaa4

Please sign in to comment.