Re: admin add view saves two entries on submit

2009-07-22 Thread JP
Ok, this is probably just a browser issue/quirk with IE6. I tried the admin add view via Firefox 3.5 and it works as expected.. So my guess, the combination of IE6+devserver is the problem. Hopefully it wont happen when deployed on a real server :) /Ending monologue On 22 Juli, 11:19, JP

Re: admin add view saves two entries on submit

2009-07-22 Thread JP
Did some more testing now.. Some really weird behaviour in my admin add view. If I add an "Egg" object (see above) with an e value of "test1" it works (just adds once) but if I add with an e-value of "test 1" (extra space), two entries are added. Two requests are sent: [22/Jul/2009 11:13:44]

admin add view saves two entries on submit

2009-07-21 Thread JP
Hi! I'm not sure why this happens but when I save a model (that has a foreign key) two identical entries are saved in the database (but diffs in id of course..). As there aren't really any errors I'm stumped on where to actually start looking. Any ideas? The models I made we're really simple