same form model with separate admins and data
I've created a form with Model->ModelForm flow. Django is running on
a sub-domain and I'm putting separate instances of the form on
multiple php websites via iframe.
How can I use the same form model but have independent forms?
For example I want:
form1 to be at: example.com/form1
form2 to be at: example.com/form2
form1 admin to be at: example.com/form1Admin
form2 admin to be at: example.com/form2Admin
I want form1 and form2 to use the same model but act independent of
each other. For example I want form1 data to only be present in
form1Admin. I believe I can add options in the url.py file for the
different forms but I'm not sure how specify keeping the data separate
in the database and setup the admin page.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home