Advertisement
Guest User

Untitled

a guest
Sep 10th, 2016
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.29 KB | None | 0 0
  1. TemplateDoesNotExist at /greatbetter/auth
  2. main.html
  3. Request Method: GET
  4. Request URL: http://localhost:8000/greatbetter/auth
  5. Django Version: 1.8.14
  6. Exception Type: TemplateDoesNotExist
  7. Exception Value:
  8. main.html
  9. Exception Location: /home/steel/.virtualenv/django1814/local/lib/python2.7/site-packages/django/template/loader.py in get_template, line 46
  10. Python Executable: /home/steel/.virtualenv/django1814/bin/python
  11. Python Version: 2.7.11
  12. Python Path:
  13. ['/home/steel/dev/gbetter',
  14. '/home/steel/.virtualenv/django1814/lib/python2.7',
  15. '/home/steel/.virtualenv/django1814/lib/python2.7/plat-x86_64-linux-gnu',
  16. '/home/steel/.virtualenv/django1814/lib/python2.7/lib-tk',
  17. '/home/steel/.virtualenv/django1814/lib/python2.7/lib-old',
  18. '/home/steel/.virtualenv/django1814/lib/python2.7/lib-dynload',
  19. '/usr/lib/python2.7',
  20. '/usr/lib/python2.7/plat-x86_64-linux-gnu',
  21. '/usr/lib/python2.7/lib-tk',
  22. '/home/steel/.virtualenv/django1814/local/lib/python2.7/site-packages',
  23. '/home/steel/.virtualenv/django1814/lib/python2.7/site-packages']
  24. Server time: Sat, 10 Sep 2016 16:30:45 +0000
  25. Template-loader postmortem
  26.  
  27. Django tried loading these templates, in this order:
  28. Using loader django.template.loaders.filesystem.Loader:
  29. Using loader django.template.loaders.app_directories.Loader:
  30. /home/steel/.virtualenv/django1814/local/lib/python2.7/site-packages/django/contrib/admin/templates/main.html (File does not exist)
  31. /home/steel/.virtualenv/django1814/local/lib/python2.7/site-packages/django/contrib/auth/templates/main.html (File does not exist)
  32. Traceback Switch to copy-and-paste view
  33.  
  34. /home/steel/.virtualenv/django1814/local/lib/python2.7/site-packages/django/core/handlers/base.py in get_response
  35. response = wrapped_callback(request, *callback_args, **callback_kwargs) ...
  36. ▶ Local vars
  37. /home/steel/.virtualenv/django1814/local/lib/python2.7/site-packages/django/utils/decorators.py in _wrapped_view
  38. response = view_func(request, *args, **kwargs) ...
  39. ▶ Local vars
  40. /home/steel/dev/gbetter/greatbetter/views.py in auth
  41. return render(request,'main.html',{'form':form}) ...
  42. ▶ Local vars
  43. /home/steel/.virtualenv/django1814/local/lib/python2.7/site-packages/django/shortcuts.py in render
  44. template_name, context, request=request, using=using) ...
  45. ▶ Local vars
  46. /home/steel/.virtualenv/django1814/local/lib/python2.7/site-packages/django/template/loader.py in render_to_string
  47. template = get_template(template_name, using=using) ...
  48. ▶ Local vars
  49. /home/steel/.virtualenv/django1814/local/lib/python2.7/site-packages/django/template/loader.py in get_template
  50. raise TemplateDoesNotExist(template_name) ...
  51. ▶ Local vars
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61. SETTINGS setups:
  62.  
  63.  
  64. TEMPLATE_DIRS
  65. ['/home/steel/dev/gbetter/templates']
  66.  
  67.  
  68. TEMPLATES
  69. [{'APP_DIRS': True,
  70. 'BACKEND': 'django.template.backends.django.DjangoTemplates',
  71. 'DIRS': [],
  72. 'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
  73. 'django.template.context_processors.request',
  74. 'django.contrib.auth.context_processors.auth',
  75. 'django.contrib.messages.context_processors.messages']}}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement