Hello,
You need to start from the urls.py file and define a path that looks close
this
your_path/ or your_path/
Then change your view to handle the new parameter
def form_view(request, variable_data):
Within your view you can now manipulate this parameter through a
variable/function/class
I am trying to pass initial values to my form set via URL Query
ex) Localhost:8000?/First_name_id_0=Samuel
[image: forms.py.png]
I was told to use the initial parameter and not the instance in my view
first
"An inline formset is related to one instance of the parent model. You
identify *which*
2 matches
Mail list logo