We're using a subclass of UserAdmin to add our user profile in Django 1.4 app on Google App Engine 1.8.1. Until recently, this worked fine, but the user profile won't show up in our app's admin interface when served from App Engine (i.e. appspot.com). Oddly, however, it still works just fine running on my development machine within the SDK and running under AppEngine Launcher.
Anyone else have any experience with this issue and possibly have a solution?
Here's the code we're using (in admin.py for our app):
admin.site.unregister(User)
class UserProfileInline(admin.StackedInline):
model = UserProfile
class UserModelAdmin(UserAdmin):
inlines = [UserProfileInline, ]
list_display = ('username', )
search_fields = ['username']
admin.site.register(User, UserModelAdmin)
It's nearly identical to code in a related SO question; the odd thing is it works in my dev environment but NOT on the server. Any ideas?