Giter Club home page Giter Club logo

django_with_data_science's People

Stargazers

Martin Kattam avatar  avatar  avatar Fengyang Shang avatar Xavier Coubez avatar Muhannad avatar Aishwarya Murugappan avatar  avatar Nh avatar Mallikarjuna M avatar Oliver (Chia-Hong) Chou avatar  avatar oscgonfer avatar David Zárate avatar  avatar

Watchers

 avatar

django_with_data_science's Issues

TemplateDoesNotExist at /performance/

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/performance/

Django Version: 3.1.4
Python Version: 3.8.6
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'products']
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']

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

Using engine django:
    * django.template.loaders.filesystem.Loader: D:\python\pandas_django\src\templates\products\main.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: D:\python\pandas_django\lib\site-packages\django\contrib\admin\templates\products\main.html (Source does not exist)
    * django.template.loaders.app_directories.Loader: D:\python\pandas_django\lib\site-packages\django\contrib\auth\templates\products\main.html (Source does not exist)



Traceback (most recent call last):
  File "D:\python\pandas_django\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
    response = get_response(request)
  File "D:\python\pandas_django\lib\site-packages\django\core\handlers\base.py", line 179, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "D:\python\pandas_django\src\products\views.py", line 7, in chart_select_view
    return render(request, 'products/main.html', {})
  File "D:\python\pandas_django\lib\site-packages\django\shortcuts.py", line 19, in render
    content = loader.render_to_string(template_name, context, request, using=using)
  File "D:\python\pandas_django\lib\site-packages\django\template\loader.py", line 61, in render_to_string
    template = get_template(template_name, using=using)
  File "D:\python\pandas_django\lib\site-packages\django\template\loader.py", line 19, in get_template
    raise TemplateDoesNotExist(template_name, chain=chain)

Exception Type: TemplateDoesNotExist at /performance/
Exception Value: products/main.html
```
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.