diff options
Diffstat (limited to 'app/projects/models/gifs.py')
-rw-r--r-- | app/projects/models/gifs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/projects/models/gifs.py b/app/projects/models/gifs.py index b6eb066..e20530b 100644 --- a/app/projects/models/gifs.py +++ b/app/projects/models/gifs.py @@ -21,4 +21,5 @@ class AnimatedGif(models.Model): # Returns the string representation of the model. def __unicode__(self): return self.slug - + def get_absolute_url(self): + return '/projects/gifs/%s/' %(self.slug) |