Skip to content

Instantly share code, notes, and snippets.

@maurobaraldi
Created February 28, 2012 15:06
Show Gist options
  • Save maurobaraldi/1932991 to your computer and use it in GitHub Desktop.
Save maurobaraldi/1932991 to your computer and use it in GitHub Desktop.
Extendendo o Users model do Django para adicionar mais referencias ao model
from django.contrib.auth.models import User
# Create your models here.
class Contact(User):
twitter = models.CharField(max_length=200)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment