Federico Capoano

Results 524 comments of Federico Capoano

Hi everyone, there's a patch which adds support for view permission and is backward compatible: https://github.com/encode/django-rest-framework/pull/8009.

> This would be very useful! > > @nemesisdesign @pandafy So now only the admin integration is missing, right? Yes.

> @nemesisdesign May i start working on this? I am not sure whether this is the right issue to start practicing on, I suggest starting with something different, easier. Come...

The new autocomplete filter feature added in https://github.com/openwisp/openwisp-utils/pull/303 can work for this task too! The current filter doesn't show up if there's only one organization, that seems good, so we...

**Update**: this could do the trick: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_for_choice_field ```python if len(request.user.organizations_managed)

> I think that way would require code in all ModelAdmin where the model uses **organization** field. Not exactly. All the modules which support multitenancy inherit this mixin: https://github.com/openwisp/openwisp-users/blob/master/openwisp_users/multitenancy.py#L11 So...

@pandabearcoder @henrinie send a patch if you can please, thanks for contributing.

IMHO the best thing would be to give the possibility to enable postgres jsonfield explicitly with a setting, otherwise lots of users of this package may experience unexpected behaviour by...

I had the same issue last time I tried. I am not sure when I'll be able to find time to add support for OpenWrt 21.02 in this role. I...