from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from app.models import User,Domain,Student,Mentor,Post, Message

admin.site.register(Domain)
admin.site.register(Student)
admin.site.register(Mentor)
admin.site.register(Post)
admin.site.register(Message)
# Register your models here.
ADDITIONAL_USER_FIELDS = (
    (None, {'fields': ('is_student','is_mentor','lat','lng')}),
)

class MyUserAdmin(UserAdmin):
    model = User

    add_fieldsets = UserAdmin.add_fieldsets + ADDITIONAL_USER_FIELDS
    fieldsets = UserAdmin.fieldsets + ADDITIONAL_USER_FIELDS

admin.site.register(User,MyUserAdmin)
60f593df695e8f0540719d6576b476e812cbdfc7
<mask token>


class MyUserAdmin(UserAdmin):
    <mask token>
    <mask token>
    <mask token>


<mask token>

<mask token>
admin.site.register(Domain)
admin.site.register(Student)
admin.site.register(Mentor)
admin.site.register(Post)
admin.site.register(Message)
<mask token>


class MyUserAdmin(UserAdmin):
    model = User
    add_fieldsets = UserAdmin.add_fieldsets + ADDITIONAL_USER_FIELDS
    fieldsets = UserAdmin.fieldsets + ADDITIONAL_USER_FIELDS


admin.site.register(User, MyUserAdmin)

<mask token>
admin.site.register(Domain)
admin.site.register(Student)
admin.site.register(Mentor)
admin.site.register(Post)
admin.site.register(Message)
ADDITIONAL_USER_FIELDS = (None, {'fields': ('is_student', 'is_mentor',
    'lat', 'lng')}),


class MyUserAdmin(UserAdmin):
    model = User
    add_fieldsets = UserAdmin.add_fieldsets + ADDITIONAL_USER_FIELDS
    fieldsets = UserAdmin.fieldsets + ADDITIONAL_USER_FIELDS


admin.site.register(User, MyUserAdmin)

from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from app.models import User, Domain, Student, Mentor, Post, Message
admin.site.register(Domain)
admin.site.register(Student)
admin.site.register(Mentor)
admin.site.register(Post)
admin.site.register(Message)
ADDITIONAL_USER_FIELDS = (None, {'fields': ('is_student', 'is_mentor',
    'lat', 'lng')}),


class MyUserAdmin(UserAdmin):
    model = User
    add_fieldsets = UserAdmin.add_fieldsets + ADDITIONAL_USER_FIELDS
    fieldsets = UserAdmin.fieldsets + ADDITIONAL_USER_FIELDS


admin.site.register(User, MyUserAdmin)

from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from app.models import User,Domain,Student,Mentor,Post, Message

admin.site.register(Domain)
admin.site.register(Student)
admin.site.register(Mentor)
admin.site.register(Post)
admin.site.register(Message)
# Register your models here.
ADDITIONAL_USER_FIELDS = (
    (None, {'fields': ('is_student','is_mentor','lat','lng')}),
)

class MyUserAdmin(UserAdmin):
    model = User

    add_fieldsets = UserAdmin.add_fieldsets + ADDITIONAL_USER_FIELDS
    fieldsets = UserAdmin.fieldsets + ADDITIONAL_USER_FIELDS

admin.site.register(User,MyUserAdmin)