diff options
author | luxagraf <sng@luxagraf.net> | 2012-10-21 22:05:26 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2012-10-21 22:05:26 -0400 |
commit | 5f12708dde05c6d6fc4cc089c6c93b67120b8f38 (patch) | |
tree | f63606b4e90409f5e3f34b540d793b78bea1e792 /app/projects | |
parent | 665cc2293083879dbcbc6a56d174aca67f632767 (diff) |
fixed two bugs, gif projs now get built and the archive list views for writing and photos check to see if the request is from the django client and adjust MEDIA_URL accordingly
Diffstat (limited to 'app/projects')
-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) |