Ticket #16738: instances.permalink.16714.patch

File instances.permalink.16714.patch, 482 bytes (added by danodonovan, 13 years ago)

patch to correct docs

  • docs/ref/models/instances.txt

     
    505505
    506506    @models.permalink
    507507    def get_absolute_url(self):
    508         return ('archive_view', (), {
     508        return ('archive_view', [], {
    509509            'year': self.created.year,
    510510            'month': self.created.month,
    511511            'day': self.created.day})
Back to Top