Opened 6 years ago

Closed 6 years ago

#29453 closed Bug (invalid)

article_form.html not found

Reported by: freeldev Owned by: nobody
Component: Forms Version: 2.0
Severity: Normal Keywords: article_form.html
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

TemplateDoesNotExist at /articles/1/edit/

articles/article_form.html

Request Method: GET
Request URL: http://127.0.0.1:8000/articles/1/edit/
Django Version: 2.0.5
Exception Type: TemplateDoesNotExist
Exception Value:

articles/article_form.html

Exception Location: /..../.local/share/virtualenvs/newspaper-o5QhkDfx/lib/python3.6/site-packages/django/template/loader.py in select_template, line 47
Python Executable: /..../.local/share/virtualenvs/newspaper-o5QhkDfx/bin/python
Python Version: 3.6.5
Python Path:

['..../tuts/django-for-beginners/newspaper',

'/..../.local/share/virtualenvs/newspaper-o5QhkDfx/lib/python36.zip',

'/..../.local/share/virtualenvs/newspaper-o5QhkDfx/lib/python3.6',

'/..../.local/share/virtualenvs/newspaper-o5QhkDfx/lib/python3.6/lib-dynload',
'/usr/lib/python3.6',

'/..../.local/share/virtualenvs/newspaper-o5QhkDfx/lib/python3.6/site-packages']

Server time: Sun, 27 May 2018 21:33:29 +0200

Django tried loading these templates, in this order:

Using engine django:

django.template.loaders.filesystem.Loader: ..../newspaper/templates/articles/article_form.html (Source does not exist)
django.template.loaders.app_directories.Loader: ..../.local/share/virtualenvs/newspaper-o5QhkDfx/lib/python3.6/site-packages/django/contrib/admin/templates/articles/article_form.html (Source does not exist)
django.template.loaders.app_directories.Loader: ..../.local/share/virtualenvs/newspaper-o5QhkDfx/lib/python3.6/site-packages/django/contrib/auth/templates/articles/article_form.html (Source does not exist)
django.template.loaders.app_directories.Loader: ..../.local/share/virtualenvs/newspaper-o5QhkDfx/lib/python3.6/site-packages/crispy_forms/templates/articles/article_form.html (Source does not exist)

Change History (1)

comment:1 by Tim Graham, 6 years ago

Resolution: invalid
Status: newclosed

See TicketClosingReasons/UseSupportChannels for ways to get help with Django usage.

Note: See TracTickets for help on using tickets.
Back to Top