Changes between Initial Version and Version 1 of Ticket #33555
- Timestamp:
- Mar 2, 2022, 9:08:44 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33555 – Description
initial v1 1 Allow for something like: 1 **Allow for something like:** 2 3 4 {{{ 2 5 from django.db import models 3 6 from django.utils.translation import ugettext_lazy as _ … … 11 14 ) 12 15 13 notificationBelongsTo = models.OneToOneField(choices=ENTITY,default= Document, on_delete=Models.CASCADE) 16 notificationBelongsTo = models.OneToOneField(choices=ENTITY,default= Document, on_delete=Models.CASCADE) 17 }}} 18 14 19 15 20 This would allow for an option to choose the relation from a list of objects(that are in this case related models)