Re: Best Practices in Implementing Mini-Content Boxes Across the Site

2008-10-16 Thread Lisa Dusseault
+1 - thanks to Ronny, Bruno and Daniel's advice in this thread. It helps sometimes to have pointers to info/tools in the context of a problem, even if I was vaguely aware of the info/tools before. On Thu, Oct 16, 2008 at 4:30 AM, Israel Dacanay Canasa <[EMAIL PROTECTED]>wrote: > > Bruno, > >

Re: invalid literal for int() with base 10 trying to access uploaded image

2008-09-18 Thread Lisa Dusseault
I've seen the same problem with FileFields, so it's not just ImageFields. I haven't figured it out yet. I can make a link to the file work from the main UI, but I don't know how the admin constructs its link in an unmodified admin form. Lisa On Thu, Sep 18, 2008 at 5:17 AM, silk.odyssey

Re: change file upload destination "on the fly" for tests

2008-09-17 Thread Lisa Dusseault
I have a bunch of unit tests that do file upload too. E.g.: def testBasics(self): testpage = self.test_report.page_set.create(slug="testpage", title = "Test Page") self.assertEquals(testpage.report, self.test_report) testpage.page_spec.save("testgraphspec.json",

Re: change file upload destination "on the fly" for tests

2008-09-17 Thread Lisa Dusseault
I have a bunch of unit tests that do file upload too. E.g.: On Wed, Sep 17, 2008 at 11:42 AM, Faheem Mitha <[EMAIL PROTECTED]> wrote: > > > Hi, > > I wrote some unit tests for file upload. since I didn't want the files in > the unit tests to be uploaded to the "official locaion", I changed