@@ -36,7 +36,7 @@ class LatestAppInfo(CreateUpdateMixin): |
||
36 | 36 |
|
37 | 37 |
@property |
38 | 38 |
def final_latest_url(self): |
39 |
- return self.latest_url or u'{0}{1}'.format(settings.DOMAIN, self.latest_app and self.latest_app.url) |
|
39 |
+ return self.latest_url or u'{}{}'.format(settings.DOMAIN, self.latest_app and self.latest_app.url) |
|
40 | 40 |
|
41 | 41 |
def _data(self): |
42 | 42 |
return { |
@@ -4,4 +4,4 @@ from django.conf import settings |
||
4 | 4 |
|
5 | 5 |
|
6 | 6 |
def img_url(img_path): |
7 |
- return u'{0}/{1}'.format(settings.IMG_DOMAIN, img_path) if img_path else '' |
|
7 |
+ return u'{}/{}'.format(settings.IMG_DOMAIN, img_path) if img_path else '' |