On 5/7/07, Ali Alinia <[EMAIL PROTECTED]> wrote: > > still another question with models: > what about ordering and update/delete statements that have limit > clause? > for example, I want to delete/update records first five records of my > table (model) order by creation date (field:creation_date) and rate > (field:rate)
Have you considered reading the documentation? One of the strengths of Django as a project is the fairly comprehensive documentation. These pages describe how to do the sort of things you are describing, and are the result of an extensive editing process, so they're much more likely to be clear, accurate than a quick reply on a mailing list. http://www.djangoproject.com/documentation/ Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---