diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-10 07:08:16 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-10 07:08:16 -0500 |
commit | 2cc3385aad120b9e9e0d3271b417c6764751c2a6 (patch) | |
tree | 99e1d8bd1e6d3973641d1dcd72c21c9f4eb1a317 /main | |
parent | 293e42fc55ca0ee8f67d5bdcb3d32fd0ec93786e (diff) |
Use HTTPS by default in email URLs
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r-- | main/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py index 1efca78d..b5cd8638 100644 --- a/main/models.py +++ b/main/models.py @@ -196,7 +196,7 @@ class Package(models.Model): return '/packages/%s/%s/%s/' % (self.repo.name.lower(), self.arch.name, self.pkgname) - def get_full_url(self, proto='http'): + def get_full_url(self, proto='https'): '''get a URL suitable for things like email including the domain''' domain = Site.objects.get_current().domain return '%s://%s%s' % (proto, domain, self.get_absolute_url()) |