Source

indie-community / gamedb / models.py

Diff from to

File gamedb/models.py

         return super(Game, self).save(**kwargs)
     def first_screenshot(self):
         return self.screenshots.all()[0].image.url
+    @models.permalink
+    def get_absolute_url(self):
+        return ('game_detail', [self.slug])