Commits

Matthew Schinckel committed b5b9220

use fully qualified UUIDField name

Comments (0)

Files changed (2)

sms/models/gateway.py

     
     name = models.CharField(max_length=128)
     base_url = models.URLField()
-    settings = jsonfield.JSONField(null=True, blank=True,
+    settings = jsonfield.fields.JSONField(null=True, blank=True,
         help_text=_(u'A JSON Dictionary of key-value pairs that will be '
             'used for every message. Authorisation credentials should go '
             'in here, for example.'

sms/models/message.py

 from django.contrib.contenttypes import generic
 from django.utils.translation import ugettext as _
 
-import uuidfield
+import uuidfield.fields
 import picklefield
 
 from gateway import Gateway
     sender = models.ForeignKey('auth.User', related_name='sent_sms_messages')
     send_date = models.DateTimeField(null=True, blank=True, editable=False)
     delivery_date = models.DateTimeField(null=True, blank=True, editable=False)
-    uuid = uuidfield.UUIDField(auto=True, help_text=_(u'Used for associating replies.'))
+    uuid = uuidfield.fields.UUIDField(auto=True, help_text=_(u'Used for associating replies.'))
     
     status = models.CharField(max_length=16, choices=MESSAGE_STATUSES,
         default="Unsent",