hi all:
I was trying to rewrite the clean_XX() method like this:
1def clean_media(self):
2
3 # save from a upload file
4 data = self.cleaned_data['media']
5 tmp = open('img.jpg','wr')
6 tmp.write(data.read())
7 tmp.close()
8
9 # open it
10
2009/4/21 galileo
>
> How we use Django in Linux?
>
> >
>
http://docs.djangoproject.com/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googl
2009/1/7 Kenneth Gonsalves
>
> On Tuesday 06 Jan 2009 5:18:57 pm HB wrote:
> > What is your favorite IDE for coding Django projects?
>
> geany
>
> --
> regards
> KG
> http://lawgon.livejournal.com
>
> >
> me too
and also gedit / vim
--~--~-~--~~~---~--~~
You recei
3 matches
Mail list logo