#17813: Implement an opposite method for Entry.objects.latest -------------------------------------+------------------------------------- Reporter: tonnzor | Owner: Type: New feature | Status: new Component: Database layer | Version: SVN (models, ORM) | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: | Needs documentation: 0 Has patch: 1 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 1 | -------------------------------------+------------------------------------- Changes (by Fandekasp):
* needs_better_patch: 1 => 0 Comment: Fixed. - modeltests/get_latest has to be removed yes, forgot to add it in the patch. - Tests were broken because one will set {{{Article._meta.get_latest_by = None}}}, and the next test will expect it to be something. fixed by adding a tearDown that adds back the get_latest_by to the model if it's None. -- Ticket URL: <https://code.djangoproject.com/ticket/17813#comment:17> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.