If we are going to extend the default User model provided by django, we need to rename it as to avoid naming conflicts.
from django.contrib.auth.models import User
u = User.objects.get(name="jon")
print u
# -> <User: jon>
from fridgefiller.lists.models import User
u2 = User.objects.get(name="jon")
print u2
# -> <User: jon>
Since the lists app User model inherits from the django.contrib User model, the u2 object has more fields than the u object EVEN THO they are kind of the same object.
If we are going to extend the default User model provided by django, we need to rename it as to avoid naming conflicts.
Since the lists app
User
model inherits from the django.contribUser
model, theu2
object has more fields than theu
object EVEN THO they are kind of the same object.I suggest something like
UserProfile