Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

При активации единственной имеющейся сетки вещания возникает ошибка 500 #50

Open
einsfr opened this issue Jun 30, 2015 · 0 comments
Milestone

Comments

@einsfr
Copy link
Owner

einsfr commented Jun 30, 2015

Internal Server Error: /schedule/lineups/activate/json/ Traceback (most recent call last):
File "/home/alex/mmkit/venv/lib/python3.4/site-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/home/alex/mmkit/venv/lib/python3.4/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
return view_func(request, _args, *_kwargs)
File "/home/alex/mmkit/venv/lib/python3.4/site-packages/django/views/decorators/http.py", line 45, in inner
return func(request, _args, *_kwargs)
File "./efsw/schedule/views.py", line 370, in lineup_activate_json
current_active_lineup.active_until = activation_date - datetime.timedelta(days=1)
AttributeError: 'NoneType' object has no attribute 'active_until'

@einsfr einsfr added this to the 1.0 milestone Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant