Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 16212ab6cd
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.329 kB
from django.db import models
from sorl.thumbnail import ImageField
class Profile(models.Model):
name = models.CharField(max_length=255)
bio = models.TextField()
image = ImageField(
upload_to='images/profiles/',
blank=True,
null=True,
)
def __unicode__(self):
return self.name
Jump to Line
Something went wrong with that request. Please try again.