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

Custom Form is not instanciated. #18

Open
aodag opened this issue Jan 15, 2012 · 0 comments
Open

Custom Form is not instanciated. #18

aodag opened this issue Jan 15, 2012 · 0 comments

Comments

@aodag
Copy link
Contributor

aodag commented Jan 15, 2012

I declare custom form UserAdd for User class.
But, I got below error.

  File "C:\Users\aodag\Documents\works\rebecca\lib\site-packages\pyramid_formalchemy\views.py", line 251, in get_fieldset
    fs = id and fs.bind(model) or fs.copy()
TypeError: unbound method copy() must be called with UserAdd instance as first argument (got nothing instead)

maybe fs is UserAdd class. I expect fs is UserAdd instance.

aodag added a commit to aodag/pyramid_formalchemy that referenced this issue Jan 15, 2012
gawel added a commit that referenced this issue Feb 1, 2012
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

1 participant