How does EmailProperty differ from StringProperty?

后端 未结 1 1941
陌清茗
陌清茗 2021-01-19 06:52

How does EmailProperty differ from StringProperty? Consider these two examples:

# example 1: store an e-mail address in an EmailPr         


        
相关标签:
1条回答
  • If you call entity.to_xml(), an EmailProperty will come back as gd:email in your entity's Atom representation.

    Note that using an EmailProperty does not provide automatic validation of email address formatting.

    0 讨论(0)
提交回复
热议问题