# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.contrib import admin
from django.contrib.auth import admin as auth_admin
from django.contrib.auth.models import User
from .models import StProfile

class StProfileInline(admin.StackedInline):
    model = StProfile

class UserAdmin(auth_admin.UserAdmin):
    inlines = (StProfileInline,)

admin.site.unregister(User)
admin.site.register(User, UserAdmin)
# Register your models here.
