[06/Mar/2019 22:12:14] "GET /udege/1 HTTP/1.1" 301 0
Internal Server Error: /udege/1/
Traceback (most recent call last):
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
response = self.process_exception_by_middleware(e, request)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
TypeError: category() got an unexpected keyword argument 'category_id'
[06/Mar/2019 22:12:14] "GET /udege/1/ HTTP/1.1" 500 70862
[06/Mar/2019 22:17:33] "GET /admin/about_udege/categories/ HTTP/1.1" 200 10660
[06/Mar/2019 22:17:33] "GET /admin/jsi18n/ HTTP/1.1" 200 14871
Internal Server Error: /udege/
Traceback (most recent call last):
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\core\handlers\base.py", line 126, in _get_response
response = self.process_exception_by_middleware(e, request)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\core\handlers\base.py", line 124, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "D:\YandexDisk\Проект\udege\about_udege\views.py", line 7, in index
return render(request, 'about_udege/index.html', context={'categories': categories})
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\shortcuts.py", line 36, in render
content = loader.render_to_string(template_name, context, request, using=using)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\loader.py", line 62, in render_to_string
return template.render(context, request)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\backends\django.py", line 61, in render
return self.template.render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 171, in render
return self._render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\loader_tags.py", line 150, in render
return compiled_parent._render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 163, in _render
return self.nodelist.render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\loader_tags.py", line 62, in render
result = block.nodelist.render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\defaulttags.py", line 209, in render
nodelist.append(node.render_annotated(context))
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\defaulttags.py", line 309, in render
return nodelist.render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 937, in render
bit = node.render_annotated(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 904, in render_annotated
return self.render(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 987, in render
output = self.filter_expression.resolve(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 671, in resolve
obj = self.var.resolve(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 796, in resolve
value = self._resolve_lookup(context)
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\template\base.py", line 858, in _resolve_lookup
current = current()
File "D:\YandexDisk\Проект\udege\about_udege\models.py", line 65, in get_absolute_url
return reverse('udege_categories_list', kwargs={'category_id': self.id})
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\urls\base.py", line 90, in reverse
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
File "D:\YandexDisk\Проект\udege\venv\lib\site-packages\django\urls\resolvers.py", line 622, in _reverse_with_prefix
raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'udege_categories_list' with keyword arguments '{'category_id': 5}' not found. 1 pattern(s) tried: ['udege/$']
[06/Mar/2019 22:19:45] "GET /udege/ HTTP/1.1" 500 203862