Re: Django substitute old image of ImageFile

2014-02-23 Thread lokesh
Hi, When i had a same problem for my imagefield when ever user deletes a image, i use to get the path of the image from the db delete the image record in db and delete the image via os.system('rm image_path') from media path. Thanks, Lokesh On Saturday, 22 February 2014 18:34:47

Re: Supporting a wider range of awesome PostgreSQL features in Django - including hstore, JSON and full text search

2014-02-23 Thread Russell Keith-Magee
On Sun, Feb 23, 2014 at 10:45 PM, Federico Capoano wrote: > I found this on django's blog: > > > https://www.kickstarter.com/projects/mjtamlyn/improved-postgresql-support-in-django > > Very interesting! > > Anybody knows if they intend to redevelop everything from

Re: Freezing records in a model after a set time

2014-02-23 Thread Lachlan Musicman
I think the easiest way would be to have a timestamp var on the model and then a simple method that uses datetime? Also, check out django-model-utils - it has some nice timestamped model options https://django-model-utils.readthedocs.org/en/latest/ cheers L. On 24 February 2014 01:59,

Freezing records in a model after a set time

2014-02-23 Thread Vittorio
I would like to enable a user to insert and modify a record in a django model for a specific stretch of time, say one hour, and,when this time's up (for that specific record), the user shouldn't be allowed to modify or delete the record. Another user (kind of a superuser) with higher

Supporting a wider range of awesome PostgreSQL features in Django - including hstore, JSON and full text search

2014-02-23 Thread Federico Capoano
I found this on django's blog: https://www.kickstarter.com/projects/mjtamlyn/improved-postgresql-support-in-django Very interesting! Anybody knows if they intend to redevelop everything from scratch or reuse and improve existing implementations? Federico -- You received this message because