Django 1.6.2 admin has a widget to search and choose permissions allowed for a User model. The widget looks like this.
I have not updated Django version or anything but I notice that the widget is missing. It is running on Apache with mod_wsgi before and now. Now the widget is
Any input or directions on why this happened? Thanks.
Maybe your admin.py code is like this
admin.py
admin.site.register(User)
If you extended Django's basic users,
admin.py
from django.contrib.auth.admin import UserAdmin
class MyUserAdmin(UserAdmin):
model = User
fieldsets = UserAdmin.fieldsets + (
(None, {'fields': ('field1', 'field2',...)}),
)
admin.site.register(User, MyUserAdmin)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With