Skip to content

Instantly share code, notes, and snippets.

View fcasco's full-sized avatar

F fcasco

  • Greencode Software
  • Santos Lugares, Buenos Aires, Argentina
View GitHub Profile
@fcasco
fcasco / models.py
Created May 25, 2019 22:16
Extra SQL en Django (completo)
from django.db import models
from django.utils improt timezone
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()
@property