Django extending user model tutorial isn't work for me
<p>I've use this tutorial and do exactly what they do:
<a href="https://docs.djangoproject.com/ja/1.9/topics/auth/customizing/#extending-the-existing-user-model" rel="nofollow">https://docs.djangoproject.com/ja/1.9/topics/auth/customizing/#extending-the-existing-user-model</a></p>

<p>my model.py:</p>

<pre><code>from django.db import models
from django.contrib.auth.models import User
from datetime import datetime

class Chess(models.Model):
    user = models.OneToOneField(User, on_delete=models.CASCADE)
    last_activity = models.DateTimeField(default=datetime(1970,1,1,))
    is_avaliable  = models.BooleanField(default=False,)
    in_progress  = models.BooleanField(default=False,)
</code></pre>

<p>my admin.py:</p>

<pre><code>from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from django.contrib.auth.models import User

from chess_tournament.models import Chess

class ChessInline(admin.StackedInline):
    model = Chess
    can_delete = False
    verbose_name_plural = 'Chess'

# Define a new User admin
class UserAdmin(BaseUserAdmin):
    inlines = (ChessInline, )

# Re-register UserAdmin
admin.site.unregister(User)
admin.site.register(User, UserAdmin)
</code></pre>

<p>in managaer.py shell:</p>

<pre><code>from django.contrib.auth.models import User
u = User.objects.get(pk=1)
u.username # return 'admin' it's work
u.chess.last_activity # return ERROR (described below)
</code></pre>

<p>AttrinbuteError: 'User' object has no attribute 'chess'</p>

<ul>
<li>but in django admin panel this field are available and works</li>
</ul>

<p>Please help to figure it out coz I already spent 4 hours for it...</p>