sladinji / blousebrothers

https://blousebrothers.fr
Other
1 stars 0 forks source link

card does not exist #422

Closed sladinji closed 6 years ago

sladinji commented 7 years ago

https://sentry.io/dowst/blousebrothers/issues/358451124/

DoesNotExist: Card matching query does not exist.
(3 additional frame(s) were not displayed)
...
  File "django/contrib/auth/mixins.py", line 113, in dispatch
    user_test_result = self.get_test_func()()
  File "blousebrothers/cards/views.py", line 108, in test_func
    self.object = self.get_object()
  File "blousebrothers/cards/views.py", line 296, in get_object
    return Card.objects.get(id=self.kwargs['id'])
  File "django/db/models/manager.py", line 122, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "django/db/models/query.py", line 387, in get
    self.model._meta.object_name

KeyError: 'request'
(28 additional frame(s) were not displayed)
...
  File "django_activeurl/templatetags/activeurl.py", line 31, in render_tag
    request = context['request']

KeyError: 'request'