Try throwing in an event.save() after creating the eventdate_date. The
event.dates.all() is spawning a new query, and you are trying to list
changes that haven't yet been committed to the database.
-James
On Nov 27, 2014 6:32 AM, "daedae11" wrote:
> My EventDate model has a ForeignKey to Event s
My EventDate model has a ForeignKey to Event shown as follows:
class EventDate( models.Model ): # {{{1
""" stores dates for events """
eventdate_name = models.CharField(
_( u'Name' ), blank = False, null = False,
max_length = 80, help_text = _(
"Example:
2 matches
Mail list logo