#24485: Support for annotate(end=F('start') + F('duration'), output_field=DateTimeField) -------------------------------------+------------------------------------- Reporter: yoyoma | Owner: jarshwah Type: New feature | Status: assigned Component: Database layer | Version: 1.8beta2 (models, ORM) | Severity: Release blocker | Resolution: Keywords: durationfield, | Triage Stage: Ready for aggregation, annotation | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by akaariai): Documentation should be good enough for now. If we need something more, then a possibility is to extend usage of F(). Maybe `F(F('active_at')+F('duration'), output_field=DurationField())` could be made to work? -- Ticket URL: <https://code.djangoproject.com/ticket/24485#comment:10> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.8141df1e19cdb4c0dff28cb4af07e6e4%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.