-
Notifications
You must be signed in to change notification settings - Fork 142
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
Inline Formset support ! #165
Comments
@infosrabah I agree that this would be a great addition to this package but unfortunately this is totally not doable from my side at the moment and I doubt it will be in the near future. I'm too busy with my job and other side projects. Maybe this year, maybe in the next, maybe never...who knows. I would say that the project you shared includes only the basic usage of formsets and has nothing to do with ajax submission from modals, unless I'm missing something. |
You said : This may be a key for, to search in a specific direction, and it may be a solution for my problem, could you please explain clearly what you meant in the above message, I'm confuse, please ? You mean that it could be doable and your package (Ajax sub modal) has nothing to do with the problem ?, could you be more specific Uros, Thank you |
Found this SO, but still can't grasp, it may help to .. |
@infosrabah I meant that the project you shared as an example is nothing more than the basic usage of formsets in Django and has nothing to do with ajax submitted formsets. At least I didn't find any relation. As already said I'm not planning to support this in near future, since it's quite some research and work to be done. I also can't provide you the assistance with your personal projects, unless you find a bug in existing package. |
Got you, |
Did you manage to find a solution @infosrabah? Struggling here. |
I'm on it, LoL To be honest I opted to use it in Normal django form, not a Modal bootstrap. but .. I talked to someone to translate the jQuery form repeater to vanilla js (Found that this is the cause of the problem I don't know but maybe it clashes with jQuery of Uros.) I have a vanilla js form repeater that i'm using in a commercial product(Author are ok to use that repeater in my pet projects), I need time to decouple it and deploy it to my django project, if it works I will post it in my github. Keep you posted if .. |
Hi Uros,
I know that Formsets is not supported yet in this project as you said before in a issue post. since it has a complex logic..
I 've been struglling to make it work, but using just a "CreateView" from "django.views.generic" not your "BSModalCreateView" because it display the error "TypeError: init() got an unexpected keyword argument 'request'"
And my form is "ModelForm" not "BSModalModelForm" but kept your Js call to a modal bootstrap (passed the last week, tweaking, debugging. ... .... the far that I got is works ok but it saved 2 instances of the object but didn't know how to make it work well, :(
I know you don't have enough time, but to give you a hint and gain time, here's the best project online on that matter that I'm based on : https://github.com/adandan01/mybook
Is there a chance to see the project support Formsets !?, are you planning to integrate it.
We relly wish for the project to implement formsets.
It's a the missing piece right now for this wonderful project.
Thank you.
The text was updated successfully, but these errors were encountered: