Environment:
Request Method: POST
Request URL: http://127.0.0.1:8000/admin/feed/subscriber/
Django Version: 3.2.8
Python Version: 3.9.7
Installed Applications:
[‘django.contrib.admin’,
‘django.contrib.auth’,
‘django.contrib.contenttypes’,
‘django.contrib.sessions’,
‘django.contrib.messages’,
‘django.contrib.staticfiles’,
‘django_feedparser’,
‘feed’,
‘django.contrib.sites’]
Installed Middleware:
[‘django.middleware.security.SecurityMiddleware’,
‘django.contrib.sessions.middleware.SessionMiddleware’,
‘django.middleware.common.CommonMiddleware’,
‘django.middleware.csrf.CsrfViewMiddleware’,
‘django.contrib.auth.middleware.AuthenticationMiddleware’,
‘django.contrib.messages.middleware.MessageMiddleware’,
‘django.middleware.clickjacking.XFrameOptionsMiddleware’]
Traceback (most recent call last):
File “C:\Users\User.virtualenvs\scrape-ogI3VmBE\lib\site-packages\django\core\handlers\exception.py”, line 47, in inner
response = get_response(request)
File “C:\Users\User.virtualenvs\scrape-ogI3VmBE\lib\site-packages\django\core\handlers\base.py”, line 204, in _get_response
response = response.render()
File “C:\Users\User.virtualenvs\scrape-ogI3VmBE\lib\site-packages\django\template\response.py”, line 105, in render
self.content = self.rendered_content
File “C:\Users\User.virtualenvs\scrape-ogI3VmBE\lib\site-packages\django\template\response.py”, line 83, in rendered_content
return template.render(context, self._request)
File “C:\Users\User.virtualenvs\scrape-ogI3VmBE\lib\site-packages\django\template\backends\django.py”, line 61, in render
return self.template.render(context)
File “C:\Users\User.virtualenvs\scrape-ogI3VmBE\lib\site-packages\django\template\base.py”, line 168, in render
with context.bind_template(self):
File “C:\Program Files\Python39\lib\contextlib.py”, line 119, in enter
return next(self.gen)
File “C:\Users\User.virtualenvs\scrape-ogI3VmBE\lib\site-packages\django\template\context.py”, line 244, in bind_template
updates.update(processor(self.request))
Exception Type: TypeError at /admin/feed/subscriber/
Exception Value: ‘NoneType’ object is not iterable