chirpradio / chirpradio-volunteers

Volunteer Tracker for CHIRP Radio
MIT License
2 stars 1 forks source link

ValueError: You must select an event when viewing unassigned tasks. #5

Open kumar303 opened 12 years ago

kumar303 commented 12 years ago

We should fix this by showing a friendly error message.

The page was /chirp/tasks/manage/?volunteer=384&event=0

Traceback (most recent call last):
  File "/var/www/chirp-volunteers/app/site-packages/django/core/handlers/base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/var/www/chirp-volunteers/app/site-packages/django/contrib/admin/views/decorators.py", line 33, in _checklogin
    return view_func(request, *args, **kwargs)
  File "/var/www/chirp-volunteers/app/chirp/volunteers/views.py", line 44, in wrapper
    return func(request, *args, **kwargs)
  File "/var/www/chirp-volunteers/app/chirp/volunteers/views.py", line 237, in manage_tasks
    raise ValueError('You must select an event when viewing '
ValueError: You must select an event when viewing unassigned tasks.
dtpeters commented 12 years ago

word.