Skip to content

Commit

Permalink
Allow ids by data source in Label as well as Organization
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikuoja committed May 2, 2016
1 parent fc93db4 commit 5c377be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions democracy/models/label.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from django.db import models
from django.utils.translation import ugettext_lazy as _

from .base import BaseModel
from .base import StringIdBaseModel


class Label(BaseModel):
class Label(StringIdBaseModel):
label = models.CharField(verbose_name=_('label'), default='', max_length=200)

class Meta:
Expand Down

0 comments on commit 5c377be

Please sign in to comment.