can_update_deploymemt -> can_update_deployment

Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
diff --git a/planetstack/core/models/site.py b/planetstack/core/models/site.py
index b1b4871..d6914f6 100644
--- a/planetstack/core/models/site.py
+++ b/planetstack/core/models/site.py
@@ -196,7 +196,7 @@
         return Deployment.objects.filter(id__in=ids)
 
     def can_update(self, user):
-        return user.can_update_deploymemt(self)
+        return user.can_update_deployment(self)
     
     def __unicode__(self):  return u'%s' % (self.name)
 
@@ -219,7 +219,7 @@
     def __unicode__(self):  return u'%s %s %s' % (self.deployment, self.user, self.role)
 
     def can_update(self, user):
-        return user.can_update_deploymemt(self)
+        return user.can_update_deployment(self)
 
     @staticmethod
     def select_by_user(user):