** Changed in: loco-directory
Assignee: Chris Johnston (chrisjohnston) => (unassigned)
** Changed in: loco-directory
Status: In Progress => Triaged
--
You received this bug notification because you are a member of loco-
directory-dev, which is the registrant for loco-directory.
https://bugs.launchpad.net/bugs/699692
Title:
Copying team event fails
Status in LoCo Directory:
Triaged
Bug description:
Traceback:
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py" in get_response
100. response = callback(request, *callback_args,
**callback_kwargs)
File "/usr/lib/pymodules/python2.6/django/contrib/auth/decorators.py" in
_wrapped_view
25. return view_func(request, *args, **kwargs)
File
"/home/chris/Dropbox/Projects/loco-directory/loco-directory/loco_directory/events/views.py"
in team_event_copy
246. form = TeamEventForm(instance=team_event,
teams=team_event.teams.all())
File "/usr/lib/pymodules/python2.6/django/db/models/fields/related.py" in
__get__
716. reverse=False
File "/usr/lib/pymodules/python2.6/django/db/models/fields/related.py" in
__init__
480. raise ValueError("%r instance needs to have a primary
key value before a many-to-many relationship can be used." %
instance.__class__.__name__)
Exception Type: ValueError at /events/team/626/copy/
Exception Value: 'TeamEvent' instance needs to have a primary key value before
a many-to-many relationship can be used.
_______________________________________________
Mailing list: https://launchpad.net/~loco-directory-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~loco-directory-dev
More help : https://help.launchpad.net/ListHelp