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

TemplateDoesNotExist exception adminsortable2/change_list.html #18

Open
onny opened this issue Dec 1, 2024 · 0 comments
Open

TemplateDoesNotExist exception adminsortable2/change_list.html #18

onny opened this issue Dec 1, 2024 · 0 comments

Comments

@onny
Copy link

onny commented Dec 1, 2024

When trying to open the page http://localhost:8080/admin/froide_govplan/governmentplansection/ in Django admin I get the following exception:

Environment:


Request Method: GET
Request URL: http://localhost:8080/admin/froide_govplan/governmentplansection/

Django Version: 4.2.16
Python Version: 3.12.7
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.sites',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'django.contrib.gis',
 'froide_govplan.apps.FroideGovPlanConfig',
 'froide.georegion',
 'froide.publicbody',
 'froide.follow',
 'froide.organization',
 'froide.team',
 'froide.helper',
 'easy_thumbnails',
 'filer',
 'sekizai',
 'cms',
 'djangocms_alias',
 'menus',
 'treebeard',
 'taggit',
 'tinymce',
 'oauth2_provider']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 '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',
 'cms.middleware.user.CurrentUserMiddleware',
 'cms.middleware.page.CurrentPageMiddleware',
 'cms.middleware.toolbar.ToolbarMiddleware',
 'cms.middleware.language.LanguageCookieMiddleware']

Template loader postmortem
Django tried loading these templates, in this order:

Using engine django:
    * django.template.loaders.filesystem.Loader: /nix/store/pfm84kzj143isx2s6qv0798pkqkc3gjr-froide-govplan-0-unstable-2024-11-05/lib/python3.12/site-packages/froide_govplan/project/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/contrib/admin/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/contrib/auth/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/contrib/gis/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/pfm84kzj143isx2s6qv0798pkqkc3gjr-froide-govplan-0-unstable-2024-11-05/lib/python3.12/site-packages/froide_govplan/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/georegion/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/publicbody/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/follow/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/organization/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/team/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/helper/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/cpcr889lgqxvd4gf1pgyxsa3w0s8hi34-python3.12-django-filer-3.2.3/lib/python3.12/site-packages/filer/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/crg6dqkp7j8aky4crzajzp10d8f68s7d-python3.12-django-cms-4.1.4/lib/python3.12/site-packages/cms/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/n99kc4kqfnnzqz0yq6qma6xzw2i6cfra-python3.12-djangocms-alias-2.0.1/lib/python3.12/site-packages/djangocms_alias/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/crg6dqkp7j8aky4crzajzp10d8f68s7d-python3.12-django-cms-4.1.4/lib/python3.12/site-packages/menus/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/16zz3djrd458sh359kkwz7s6nj5is29y-python3.12-django-treebeard-4.7.1/lib/python3.12/site-packages/treebeard/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/w9r1q9wq7accgf70p5jwbhs3kyavxw66-python3.12-django-tinymce-4.1.0/lib/python3.12/site-packages/tinymce/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/i5kzhk8s8h0c4pzsdssig3qh41hrx1gp-python3.12-django-oauth-toolkit-3.0.1/lib/python3.12/site-packages/oauth2_provider/templates/adminsortable2/froide_govplan/governmentplansection/change_list.html (Source does not exist)

Using engine django:
    * django.template.loaders.filesystem.Loader: /nix/store/pfm84kzj143isx2s6qv0798pkqkc3gjr-froide-govplan-0-unstable-2024-11-05/lib/python3.12/site-packages/froide_govplan/project/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/contrib/admin/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/contrib/auth/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/contrib/gis/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/pfm84kzj143isx2s6qv0798pkqkc3gjr-froide-govplan-0-unstable-2024-11-05/lib/python3.12/site-packages/froide_govplan/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/georegion/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/publicbody/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/follow/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/organization/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/team/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/helper/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/cpcr889lgqxvd4gf1pgyxsa3w0s8hi34-python3.12-django-filer-3.2.3/lib/python3.12/site-packages/filer/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/crg6dqkp7j8aky4crzajzp10d8f68s7d-python3.12-django-cms-4.1.4/lib/python3.12/site-packages/cms/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/n99kc4kqfnnzqz0yq6qma6xzw2i6cfra-python3.12-djangocms-alias-2.0.1/lib/python3.12/site-packages/djangocms_alias/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/crg6dqkp7j8aky4crzajzp10d8f68s7d-python3.12-django-cms-4.1.4/lib/python3.12/site-packages/menus/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/16zz3djrd458sh359kkwz7s6nj5is29y-python3.12-django-treebeard-4.7.1/lib/python3.12/site-packages/treebeard/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/w9r1q9wq7accgf70p5jwbhs3kyavxw66-python3.12-django-tinymce-4.1.0/lib/python3.12/site-packages/tinymce/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/i5kzhk8s8h0c4pzsdssig3qh41hrx1gp-python3.12-django-oauth-toolkit-3.0.1/lib/python3.12/site-packages/oauth2_provider/templates/adminsortable2/froide_govplan/change_list.html (Source does not exist)

Using engine django:
    * django.template.loaders.filesystem.Loader: /nix/store/pfm84kzj143isx2s6qv0798pkqkc3gjr-froide-govplan-0-unstable-2024-11-05/lib/python3.12/site-packages/froide_govplan/project/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/contrib/admin/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/contrib/auth/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/contrib/gis/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/pfm84kzj143isx2s6qv0798pkqkc3gjr-froide-govplan-0-unstable-2024-11-05/lib/python3.12/site-packages/froide_govplan/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/georegion/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/publicbody/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/follow/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/organization/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/team/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/9rshwj3aqgp8012gdcakk7k1fd20zqfw-froide-0-unstable-2024-11-13/lib/python3.12/site-packages/froide/helper/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/cpcr889lgqxvd4gf1pgyxsa3w0s8hi34-python3.12-django-filer-3.2.3/lib/python3.12/site-packages/filer/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/crg6dqkp7j8aky4crzajzp10d8f68s7d-python3.12-django-cms-4.1.4/lib/python3.12/site-packages/cms/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/n99kc4kqfnnzqz0yq6qma6xzw2i6cfra-python3.12-djangocms-alias-2.0.1/lib/python3.12/site-packages/djangocms_alias/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/crg6dqkp7j8aky4crzajzp10d8f68s7d-python3.12-django-cms-4.1.4/lib/python3.12/site-packages/menus/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/16zz3djrd458sh359kkwz7s6nj5is29y-python3.12-django-treebeard-4.7.1/lib/python3.12/site-packages/treebeard/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/w9r1q9wq7accgf70p5jwbhs3kyavxw66-python3.12-django-tinymce-4.1.0/lib/python3.12/site-packages/tinymce/templates/adminsortable2/change_list.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: /nix/store/i5kzhk8s8h0c4pzsdssig3qh41hrx1gp-python3.12-django-oauth-toolkit-3.0.1/lib/python3.12/site-packages/oauth2_provider/templates/adminsortable2/change_list.html (Source does not exist)



Traceback (most recent call last):
  File "/nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/core/handlers/base.py", line 220, in _get_response
    response = response.render()
               ^^^^^^^^^^^^^^^^^
  File "/nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/template/response.py", line 114, in render
    self.content = self.rendered_content
                   ^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/template/response.py", line 90, in rendered_content
    template = self.resolve_template(self.template_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/template/response.py", line 72, in resolve_template
    return select_template(template, using=self.using)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/93045iaxq4w0pl97zi92sm68i8bc1ngl-python3.12-django-4.2.16/lib/python3.12/site-packages/django/template/loader.py", line 47, in select_template
    raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Exception Type: TemplateDoesNotExist at /admin/froide_govplan/governmentplansection/
Exception Value: adminsortable2/froide_govplan/governmentplansection/change_list.html, adminsortable2/froide_govplan/change_list.html, adminsortable2/change_list.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant