Re: django

2016-11-05 Thread
as a three year django developer, i think the django docs is the most help way 在 2016年11月3日星期四 UTC+8上午12:09:54,bhaskerg...@gmail.com写道: > > Hello friends, > Myself bhasker ,i am new to django ,i want learn django > and create one web application,could you please help me anyone .

Re: How to delete a certain model instance in django after a given date

2016-11-05 Thread
i think maybe you need a schedule job to delete the model. you can mark the model with a ctime, and check whether any model with ctime 7 days from now and then delete it. 在 2016年11月6日星期日 UTC+8上午2:31:20,YOGITHA A N写道: > > So here are my models: > > * class Mess(models.Model):* > muser = m

Re: Using django pagination or slicing

2016-10-31 Thread
hi i prefer method 2 you can get all the list from db and store it in redis using zadd each time an ajax request comes, you get the data you need using zrange 在 2016年10月31日星期一 UTC+8上午9:05:07,ADEWALE ADISA写道: > > Hello, > Please I need an advice on the best approach to take on the following > i