Commit 0351327f authored by Nicolas Joyard's avatar Nicolas Joyard

Remove absolute url getters

parent 7e9fa290
# coding: utf-8
from django.core.urlresolvers import reverse
from django.db import models
from representatives.models import (HashableModel, Representative,
......@@ -18,9 +17,6 @@ class Dossier(HashableModel, TimeStampedModel):
def __unicode__(self):
return unicode(self.title)
def get_absolute_url(self):
return reverse('representatives_votes:dossier-detail', args=(,))
class Proposal(HashableModel, TimeStampedModel):
dossier = models.ForeignKey(Dossier, related_name='proposals')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment