Custom User model fields (AbstractUser) not showing in django admin : <p>I have extended User model for django, using AbstractUser method. The problem is, my custom fields do not show in django admin panel.</p>

<p>My models.py:</p>

<pre><code>from django.contrib.auth.models import AbstractUser


class User(AbstractUser):
    is_bot_flag = models.BooleanField(default=False)
</code></pre>

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

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

admin.site.register(User, UserAdmin)
</code></pre>

<p>Thanks</p>
