Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #19. Added a get_absolute_url method to the Blog model.

git-svn-id: file:///Users/brian/Backups/S3/backups/Wednesday/brian/svn/djog/trunk@58 95ab7de8-677b-4562-a266-b8acc9dd993c
  • Loading branch information...
commit 223115793380a74035f66da320eec12dc3250f61 1 parent 3f4737b
Brian Rosner authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  djog/
3  djog/
@@ -21,6 +21,9 @@ class Admin:
def __unicode__(self):
return self.title
+ def get_absolute_url(self):
+ return urlresolvers.reverse('djog_index')
class Entry(models.Model):
blog = models.ForeignKey(Blog, verbose_name=_('Blog'))
Please sign in to comment.
Something went wrong with that request. Please try again.