I forgot to mention, that you can write a custom manager. This way FooModel.objects.all() only returns not archived instances.
Thomas Guettler wrote: > Hi, > > If you use indices to access the models, you will see no noticable difference > in speed between 1,000 and 100,000 rows. This may be different if use no > indices (e.g. SQL LIKE "%...%"). But if the boolean column "archived" has > an index, the sequential scan will be fast. ... -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---