Re: Upload Image and pdf file

2012-09-04 Thread Dott. Tegagni Alessandro
The file settings.py is: http://dpaste.com/796111/ But the result is page not found, when i click on media file, that i upload. any ideas? Il giorno domenica 2 settembre 2012 15:53:48 UTC+2, Dott. Tegagni Alessandro ha scritto: > > The file urls.py is: http://dpaste.com/795211/ > If

Re: Upload Image and pdf file

2012-09-02 Thread Dott. Tegagni Alessandro
The file urls.py is: http://dpaste.com/795211/ If it is the help. Il giorno domenica 2 settembre 2012 14:51:21 UTC+2, Dott. Tegagni Alessandro ha scritto: > > The folder is empty. > > Il giorno venerdì 31 agosto 2012 08:47:55 UTC+2, Amyth ha scritto: >> >> Do you actual

Re: Upload Image and pdf file

2012-09-02 Thread Dott. Tegagni Alessandro
The folder is empty. Il giorno venerdì 31 agosto 2012 08:47:55 UTC+2, Amyth ha scritto: > > Do you actually see anyfiles uploaded under static/finale if you manually > browse the folder? or is it empty ? > > On Thu, Aug 30, 2012 at 7:54 PM, Dott. Tegagni Alessandro < > tefar

Upload Image and pdf file

2012-08-30 Thread Dott. Tegagni Alessandro
I have a project created with cms Django, and in this project i must upload a image and pdf file. the code in models.py is as follow: http://dpaste.com/793672/ The file with this step to upload, is inserted in correct folder, but the file not work. In Administrator panel, when i click on im

Re: Django Egypt

2012-07-13 Thread Dott. Tegagni Alessandro
andro ---- *Dott. Tegagni Alessandro* Consulente nel settore delle Tecnologie Informatiche Siti Web e Applicazioni Mobile Ufficio di Cremona: Via Fatebenefratelli, 2 - 26100 Cremona (Cr) Tel. 333/9118728 P.Iva 01521350197 Sito Web

Re: Static File - help, for a question

2012-07-12 Thread Dott. Tegagni Alessandro
ia/photos/custodia/shop-ad.jpg' could not be found Now, I don't know what to do. Certainly this a Stupid Problem, but I am a New Users in Django, and I'm sorry for my english. :-( --------

Static File - help, for a question

2012-07-11 Thread Dott. Tegagni Alessandro
Hi! I do see the static files (images and pdf), I added STATIC_DIRS, the directories when I upload that files: STATICFILES_DIRS = ( '/home/alessandro/Scrivania/progetto/media/photos/custodia/', '/home/alessandro/Scrivania/progetto/media/definitiva/', '/home/alessandro/Scrivania/proge

Error with permissions update file

2012-07-05 Thread Dott. Tegagni Alessandro
I wrote a django app, but i have a problem with the file permissions of the uploads files from a web form. Basically I can upload a image and a pdf file but it always keep chmod 600. I have add in settings.py: FILE_UPLOAD_PERMISSIONS = 0777, but when i upload a image/pdf file the permissions