Created
December 31, 2015 15:05
-
-
Save bertini36/b801631ee223c39e3e94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: UTF-8 -*- | |
from django.db import models | |
class Contact(models.Model): | |
name = models.CharField(max_length=64) | |
surnames = models.CharField(max_length=128) | |
email = models.EmailField() | |
phone_number = models.CharField(max_length=64) | |
class Meta: | |
verbose_name = 'contact' | |
verbose_name_plural = 'contacts' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment