@@ -53,6 +53,7 @@ class RapidAlternativesField(forms.Field):
def for_model(request, model, default_relations=()):
+ default_relations = list(default_relations)
default_relations_request = request.GET.get('default')
widgets = []
default_relations_fields = []
@@ -13,7 +13,8 @@ from rapid import permissions
def _can_manage_users(request):
- if not request.user.is_authenticated:
+ import pdb; pdb.set_trace()
+ if not request.user.is_authenticated():
return []
p = []
for a in request.user.managed_applications.all():