mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Add translations and small fix
This commit is contained in:
@ -82,7 +82,7 @@ class News(models.Model):
|
||||
return reverse('com:news_detail', kwargs={'news_id': self.id})
|
||||
|
||||
def get_full_url(self):
|
||||
return "https://" + settings.SITH_URL + self.get_absolute_url()
|
||||
return "https://%s%s" % (settings.SITH_URL, self.get_absolute_url())
|
||||
|
||||
def __str__(self):
|
||||
return "%s: %s" % (self.type, self.title)
|
||||
|
Reference in New Issue
Block a user