"DatabaseError at /admin/auth/user/1/ Ordering can't span tables on App Engine (content_type__app_label) /django-testapp/common-apps/djangoappengine/db/compiler.py in build_query, line 161 "
So Auth framework not usable because of this. I also tested with some existing django applications (some of them using ContentType) gets this error .
> "DatabaseError at /admin/auth/user/1/ > Ordering can't span tables on App Engine (content_type__app_label) > /django-testapp/common-apps/djangoappengine/db/compiler.py in > build_query, line 161 > " > So Auth framework not usable because of this. I also tested with some > existing django applications > (some of them using ContentType) gets this error .
> How to resolve this issue.
This is caused by JOINs. We need to add an additional backend layer in order to support JOINs which will not come soon. We can help someone to implement such a layer. Are you interested in helping?
On 22 Lut, 20:10, Harry Mason <glazed...@gmail.com> wrote:
> How to resolve this issue.
In my last project i registered my own user admin, using custom user form without user_permissions and groups fields:
class UserForm(forms.ModelForm): class Meta: model = User fields = ('username','email','first_name','last_name','is_active', 'is_staff', 'is_superuser',)
from django.contrib.auth.admin import UserAdmin class CustomUserAdmin(UserAdmin): fieldsets = None form = UserForm