Skip to content

Instantly share code, notes, and snippets.

@fcasco
Last active May 25, 2019 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fcasco/1447ef9eca2affa66dc4b086351ea1b8 to your computer and use it in GitHub Desktop.
Save fcasco/1447ef9eca2affa66dc4b086351ea1b8 to your computer and use it in GitHub Desktop.
Extra SQL en Django. 1
from django.db import models
class Person(models.Model):
first_name = models.CharField(max_length=42)
last_name = models.CharField(max_length=42)
birth_date = models.DateField()
email = models.EmailField()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment