Skip to content

Commit 6ef66f5

Browse files
committed
updated import
1 parent 689d0fe commit 6ef66f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

models.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55

66
from django.db import models
77

8-
from reporters.models import PersistantBackend
8+
from rapidsms.models import Backend
99

1010
class SIM(models.Model):
1111
operator_name = models.CharField(max_length=20, blank=True, null=True)
12-
backend = models.ForeignKey(PersistantBackend, blank=True, null=True)
12+
backend = models.ForeignKey(Backend, blank=True, null=True)
1313
balance = models.CharField(max_length=500, blank=True, null=True)
1414

1515
def __unicode__(self):
16-
return "%s (%s)" % (self.operator_name, self.backend.slug)
16+
return "%s (%s)" % (self.operator_name, self.backend)
1717

1818
class OperatorNotification(models.Model):
1919
NOTIFICATION_CHOICES = (

0 commit comments

Comments
 (0)