Skip to content

Instantly share code, notes, and snippets.

@bertini36
Created December 31, 2015 15:05
Show Gist options
  • Save bertini36/b801631ee223c39e3e94 to your computer and use it in GitHub Desktop.
Save bertini36/b801631ee223c39e3e94 to your computer and use it in GitHub Desktop.
# -*- 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