Hi,
As the subject states, is there a way to display a model formset in a
ModelForm?
The thing is that I have a Verification model with its ModelAdmin, and then
I have
an ImageModel that has no ForeignKey to the Verification model (and I
intend to keep
it that way) so I can not inline it into the VerificationAdmin and I would
like to show
a list of Images in my VerificationAdmin based on a queryset performed (i
assume) at
__init__ method of VerificationAdminForm. How could this be accomplished?
This is how it goes:
class Image(models.Model):
....
class Verification(models.Model):
....
class VerificationAdminForm(forms.ModelForm):
....
class VerificationAdmin(admin.ModelAdmin):
form = VerificationAdminForm
model = Verification
fieldsets = [ ... ]
Any ideas would be greatly appreciated.
Thanks in advance.
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.