thank you mary !
MEDIA_ROOT = '/home/greg/Projects/woot/'
with 'postimgs' as the path in imagefield allow editing without error.
u have to check your media_root that is in settings.py
cause i think the problem is that he can't find the right path for your
media files
and the right path had to be media_root path+ the path of upload_to
[EMAIL PROTECTED] wrote:
> It doesn't solve the problem, i can't still override the image w
Ah I see. Sorry, but I've not used ImageFields yet, so I don't think I
can help in that instance...
Cheers,
Tone
the file i was trying to upload had a different name, or even just dont
edit anything and save the page, an error will still raise.
I guess a validator would sort things out in this situation. However,
this is a general problem - uploading files that have the same name
(test.doc, figures.xls, etc.) - how do you know that its ok to
overwrite the file with the same name? If it's just you uploading
files, you're probably ok, but
Is it possible to attach a validator to that field and remove the file
if it exists? Check out unlink on this page:
http://docs.python.org/lib/os-file-dir.html
-berto.
On 1/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> It doesn't solve the problem, i can't still override the image wi
It doesn't solve the problem, i can't still override the image with a
new one, an invalid filename error rise.
see there http://img95.imageshack.us/img95/4536/see9za.png.
On Thursday 26 Jan 2006 1:12 pm, [EMAIL PROTECTED] wrote:
> img= meta.ImageField('Attach Image', upload_to='postimgs',
upload_to='postings/'
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
I am suffering from the same problem acctually and i need hepl too
Mary AdelSoftware DevelopperITrize-Egypt 13 Naguib
Hashad medan elhegaz heliopolisemail: [EMAIL PROTECTED]Office:
+202 - 6236612 EXT. 102Mobile: +2012 5241719
Original Message Subject:
image field update impossibl
9 matches
Mail list logo