Commits

voluntas  committed 3ed0fd6

Fix: key_name を使用しないようにした。

  • Participants
  • Parent commits 46bab80
  • Branches tutorial-beginner

Comments (0)

Files changed (2)

   account_name = db.StringProperty(required=True)
   created = db.DateTimeProperty(auto_now_add=True)
 
-  def put(self):
-    if not self.is_saved():
-      self.key_name = self.account_name
-    super(Account, self).put()
-
 class Status(db.Model):
   """
   >>> user = users.User(email='test@example.com')
       'account': account,
     }
     return render_to_response(self, dictionary, 'user_timeline.html')
+