﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33555	Enable Model Field choices to hold other Model objects as values of the iterable.	Mike Okoth	nobody	"Allow for something like:
from django.db import models
from django.utils.translation import ugettext_lazy as _
from  Documents.models import Document
from Comments.models import Comment

class Notification(models.Model):
    ENTITY = (
        (Document ,   _('Notification on Document')),
        (Comment ,    _('Notification on Comment')),
        )

    notificationBelongsTo = models.OneToOneField(choices=ENTITY,default= Document,  on_delete=Models.CASCADE) 

This would allow for an option to choose the relation from a list of objects(that are in this case related models)"	New feature	new	Database layer (models, ORM)	4.0	Normal		choices option for model objects		Unreviewed	0	0	0	0	0	0
