• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

thorgate / tg-react
26%
master: 26%

Build:
Build:
LAST BUILD BRANCH: 2.0.0
DEFAULT BRANCH: master
Repo Added 29 Nov 2016 12:24PM UTC
Files 17
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH Change-template-context-class
branch: Change-template-context-class
CHANGE BRANCH
x
Reset
  • Change-template-context-class
  • 1.0.0
  • 1.0.1
  • 1.0.2
  • 1.0.3
  • 2.0.0
  • 2.0.0a1
  • 2.0.0a2
  • 2.0.0a3
  • fix/travis-conditional-deploy
  • master
  • update-deploy-pw

pending completion
86

push

travis-ci

metsavaht
Update views.py

Apparently the Context class does not work any more in Django 1.11.11 and This Context class fails when rendering the template with following error:

```
django_1    |   File "/usr/local/lib/python3.6/site-packages/tg_react/api/accounts/views.py", line 206, in post
django_1    |     self.send_email_notification(serializer.user, serializer.validated_data['uid_and_token_b64'])
django_1    |   File "/usr/local/lib/python3.6/site-packages/tg_react/api/accounts/views.py", line 196, in send_email_notification
django_1    |     text_content = get_template('emails/password_reset.txt').render(context)
django_1    |   File "/usr/local/lib/python3.6/site-packages/django/template/backends/django.py", line 64, in render
django_1    |     context = make_context(context, request, autoescape=self.backend.engine.autoescape)
django_1    |   File "/usr/local/lib/python3.6/site-packages/django/template/context.py", line 287, in make_context
django_1    |     raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__)
django_1    | TypeError: context must be a dict rather than Context

```

150 of 587 relevant lines covered (25.55%)

0.26 hits per line

Relevant lines Covered
Build:
Build:
587 RELEVANT LINES 150 COVERED LINES
0.26 HITS PER LINE
Source Files on Change-template-context-class
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
86 Change-template-context-class Update views.py Apparently the Context class does not work any more in Django 1.11.11 and This Context class fails when rendering the template with following error: ``` django_1 | File "/usr/local/lib/python3.6/site-packages/tg_react/api... push 26 Jul 2018 08:15AM UTC metsavaht travis-ci pending completion  
87 Change-template-context-class Update views.py Apparently the Context class does not work any more in Django 1.11.11 and This Context class fails when rendering the template with following error: ``` django_1 | File "/usr/local/lib/python3.6/site-packages/tg_react/api... Pull #17 26 Jul 2018 08:14AM UTC web-flow travis-ci pending completion  
72 Change-template-context-class Update .travis.yml Add python 3.5 Pull #17 18 Jul 2018 09:12AM UTC web-flow travis-ci pending completion  
71 Change-template-context-class Update .travis.yml Add python 3.5 push 18 Jul 2018 09:03AM UTC web-flow travis-ci pending completion  
70 Change-template-context-class Update views.py Apparently the Context class does not work any more in Django 1.11.11 and This Context class fails when rendering the template with following error: ``` django_1 | File "/usr/local/lib/python3.6/site-packages/tg_react/api... Pull #17 18 Jul 2018 08:37AM UTC web-flow travis-ci pending completion  
69 Change-template-context-class Update views.py Apparently the Context class does not work any more in Django 1.11.11 and This Context class fails when rendering the template with following error: ``` django_1 | File "/usr/local/lib/python3.6/site-packages/tg_react/api... push 18 Jul 2018 08:33AM UTC web-flow travis-ci pending completion  
See All Builds (75)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc