Multilanguage flat pages

2008-12-16 Thread nsash
Hi everyone, I activated the flat pages in my django app, but I also need to have them in several languages. Does anyone know how can I achieve this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gr

Re: Upload images to database

2008-09-08 Thread nsash
nipulation on the fly, maybe have a look at > sorl.thumbnail (http://code.google.com/p/sorl-thumbnail/), which gives you a > lot of the power of the Python Imaging Library within a template tag, while > leaving your image data on the file-system. > > Ludwig > > 2008/9/8 nsash <[EM

Upload images to database

2008-09-08 Thread nsash
How can I upload an image in the database? As it is now , in database is saved only the path to it. The image itself is in the file system. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group

filter_vertical is not defined

2008-09-08 Thread nsash
Hello, I use latest Django official version - 1.0. I want to use in my admin view filter_vertical('categories',) or filter_horizontal('categories',)for a ManyToMany Field. But I only get the error message "name 'filter_vertical' is not defined". In which module should I find it? Sorry

Re: Resize image on save (django admin)

2008-09-05 Thread nsash
Thank you very much, this solved the problem By the way, I use the official release 1.0 On 5 Септ, 21:13, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote: > Hi nsash, > > >         def save(self, size=(80, 80)): > >                 super(Artwork, self).save() > >

Resize image on save (django admin)

2008-09-05 Thread nsash
Hello, I am trying to resize image on save from the admin part of django. My Model is: class Artwork(models.Model): file = models.ImageField(upload_to=UPLOAD_DIR,) title = models.CharField(max_length=100) def __unicode__(self): return self.title