[Maintenance] [Django] ERROR (EXTERNAL IP): Internal Server Error: /admin/packages/flagrequest/

root at localhost.parabola.nu root at localhost.parabola.nu
Sun Sep 1 05:27:38 GMT 2019


Internal Server Error: /admin/packages/flagrequest/
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 618, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 233, in inner
    return view(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 34, in _wrapper
    return bound_func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 30, in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1550, in changelist_view
    self.list_max_show_all, self.list_editable, self)
  File "/usr/lib/python2.7/site-packages/django/contrib/admin/views/main.py", line 47, in __init__
    self.root_queryset = model_admin.get_queryset(request)
  File "./packages/admin.py", line 23, in get_queryset
    qs = super(FlagRequestAdmin, self).queryset(request)
AttributeError: 'super' object has no attribute 'queryset'

Request repr(): 
<WSGIRequest
path:/admin/packages/flagrequest/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'csrftoken': 'Q2qoY3f2zAp0HM9j5HqNpXwurflfd2jZ',
 'sessionid': '17z42td0n8ekx1p4kguxqg24onflzojm'},
META:{'CONTENT_LENGTH': '',
 'CONTENT_TYPE': '',
 u'CSRF_COOKIE': u'Q2qoY3f2zAp0HM9j5HqNpXwurflfd2jZ',
 'DOCUMENT_ROOT': '/srv/http/www.parabola.nu',
 'HTTPS': 'on',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
 'HTTP_COOKIE': 'csrftoken=Q2qoY3f2zAp0HM9j5HqNpXwurflfd2jZ; sessionid=17z42td0n8ekx1p4kguxqg24onflzojm',
 'HTTP_DNT': '1',
 'HTTP_HOST': 'www.parabola.nu',
 'HTTP_REFERER': 'https://www.parabola.nu/admin/',
 'HTTP_TE': 'trailers',
 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; rv:68.0) Gecko/20100101 Firefox/68.0',
 'PATH_INFO': u'/admin/packages/flagrequest/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '75.138.186.142',
 'REMOTE_PORT': '36468',
 'REQUEST_METHOD': 'GET',
 'REQUEST_SCHEME': 'https',
 'REQUEST_URI': '/admin/packages/flagrequest/',
 u'SCRIPT_NAME': u'',
 'SERVER_NAME': 'www.parabola.nu',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/2.0',
 'uwsgi.node': 'winston.parabola.nu',
 'uwsgi.version': '2.0.18',
 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f40afe40030>,
 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,
 'wsgi.input': <uwsgi._Input object at 0x7f40afa5a288>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>


More information about the Maintenance mailing list