2013-06-30 00:34:41 +08:00
|
|
|
from django.contrib.auth.models import User
|
2015-02-10 02:19:34 +08:00
|
|
|
from django.db import models
|
2011-10-14 02:51:33 +08:00
|
|
|
|
2010-04-20 22:39:46 +08:00
|
|
|
|
|
|
|
# Regression for #13368. This is an example of a model
|
|
|
|
# that imports a class that has an abstract base class.
|
2013-06-30 00:34:41 +08:00
|
|
|
class UserProfile(models.Model):
|
|
|
|
user = models.OneToOneField(User, primary_key=True)
|