Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in RemoteMultiWidget #17

Open
ghost opened this issue May 21, 2014 · 1 comment
Open

Typo in RemoteMultiWidget #17

ghost opened this issue May 21, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented May 21, 2014

Apparently, there's a typo in line as_dict() method of RemoteMultiWidget class in widgets.py, missing an argument to the append() call. Will attach the patch in a minute.

@ghost
Copy link
Author

ghost commented May 21, 2014

--- a/django_remote_forms/widgets.py
+++ b/django_remote_forms/widgets.py
@@ -254,7 +254,7 @@ class RemoteMultiWidget(RemoteWidget):
         widget_list = []
         for widget in self.widget.widgets:
             # Fetch remote widget and convert to dict
-            widget_list.append()
+            widget_list.append(widget.as_dict())

         widget_dict['widgets'] = widget_list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants