Skip to content

Commit

Permalink
fixing bug reported at meta in http://meta.osqa.net/question/126/some…
Browse files Browse the repository at this point in the history
  • Loading branch information
hrcerqueira committed Mar 31, 2010
1 parent 7e0c16d commit 1397c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forum/models/user.py 100755 → 100644
Expand Up @@ -62,7 +62,7 @@ def delete_messages(self):

def get_profile_url(self):
"""Returns the URL for this User's profile."""
return "/users/%d/%s" % (self.id, slugify(self.username))
return "/%s%d/%s" % (_('users/'), self.id, slugify(self.username))

def get_profile_link(self):
profile_link = u'<a href="%s">%s</a>' % (self.get_profile_url(),self.username)
Expand Down

0 comments on commit 1397c35

Please sign in to comment.