Thanks for the help - I actually read abount unique_together shortly
after creating this post. I did have one more question, however.

Each theme has a number of images associated with it (with an Image
model and a theme ForeignKey), so naturally when you go to add an
image via the Admin app, there are the choices of themes to choose
from in the dropdown list. However, because the theme names aren't
unique and there can be multiple themes with the same name associated
with different categories, it makes it impossible to choose the
correct theme when adding an image.

For example, if I have the following categories and themes:

Contact Tables
    - Baseball (theme)
Glitter Graphics
    - Baseball (theme)

It shows up like this: http://rawb.net/before.png

Would it be possible to have the <select> HTML show each theme's
parent Category (via the category ForeignKey) so it looks like this:
http://rawb.net/after.png?

Thanks for the help,
Rob


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to