Using Django you don't need to explicitly define the PhotoTag model.
Create your Tag model first, then create the Photo model. In the Photo
model, include a field like such:
tags = meta.ManyToManyField(Tag)
The admin interface will render this as a select box where you can
select multiple value
Sorry - some edit_inline, etc. got cut off in the paste.
--~--~-~--~~~---~--~~
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 t
2 matches
Mail list logo