Commit 4bf3a6e5 authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Fix position FK to representatives

parent a88381e8
......@@ -3,9 +3,10 @@ from django.core.urlresolvers import reverse
from django.template.defaultfilters import truncatewords
from taggit.managers import TaggableManager
from representatives.models import Representative
class Position(models.Model):
representative = models.ForeignKey('representatives.representative',
representative = models.ForeignKey(Representative,
related_name='positions')
datetime = models.DateField()
text = models.TextField()
......
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