I've seen some similar questions, but nothing that quite pointed me in the direction I was hoping for. I have a situation where I have a standard django form built off of a model. This form has a drop down box where you select an item you want to post a comment on. Now I'd like people to be able to browse by items, and click a link to comment on that particular item. What I'd like is for when a user clicks that link they'll be presented with the same old form, however, the dropbox will be defaulted to the item they wanted to comment on.
Is there a sane way to do this with the existing form? Should I create a separate form entirely for this need?
As a note, this isn't a true comment system, and isn't intended to be. One idea I had was to construct urls like:
comment/?q=item1
Catching the 'item1' section, and then over riding the save function to force that into the form, while hiding the company in the form. From a UI standpoint, I'm not ecstatic with that idea though. Any thoughts or ideas?