I am trying to use a 3rd party form field and custom widget in my own model 
form and I am having trouble understanding what the "rel" attribute is used 
for.

for example:

class SomeFormField(forms.ModelChoiceField):
def __init__(self, rel, queryset, to_field_name, *args, **kwargs):
...

I see it originates here:

https://code.djangoproject.com/browser/django/trunk/django/db/models/fields/__init__.py#L75

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/4rXHWwhzCPQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to