Source

Lightning Talks / lightning / talks / models.py

from django.db import models
from django.contrib.auth.models import User

from common.models import Lumberjack

class Talk(Lumberjack):
    url = models.URLField()
    name = models.CharField(max_length=1024)
    description = models.TextField()
    user = models.ForeignKey(User, related_name='talks')
    slug = models.SlugField(editable=False, max_length=100)

    def __unicode__(self):
        return self.name