# Path: userprofiles/settings.py
# class Settings(object):
#     def __init__(self, **kwargs):
#     def __getattr__(self, key):
# def validate_settings():


from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.models import User
from userprofiles.settings import up_settings
    from userprofiles.utils import UserProfile
# -*- coding: utf-8 -*-



if up_settings.USE_PROFILE and up_settings.INLINE_PROFILE_ADMIN:

    admin.site.unregister(User)

    class UserProfileInline(admin.StackedInline):

# Path: userprofiles/settings.py
# class Settings(object):
#     def __init__(self, **kwargs):
#     def __getattr__(self, key):
# def validate_settings():


# Path: userprofiles/admin.py
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from django.contrib.auth.models import User
from userprofiles.settings import up_settings
    from userprofiles.utils import UserProfile

# -*- coding: utf-8 -*-



if up_settings.USE_PROFILE and up_settings.INLINE_PROFILE_ADMIN:

    admin.site.unregister(User)

    class UserProfileInline(admin.StackedInline):

        model = UserProfile