question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’m under the impression that I must be missing something important here, because I can’t seem to find this issue elsewhere on the web. However, my pip-installed version of django_twilio has a decorators.py file which is inconsistent with the one here on GitHub. The main problem seems to arise from these two import statements:

from twilio.twiml import Verb
from twilio.util import RequestValidator

The above statements should be:

from twilio.twiml import TwiML as Verb
from twilio.request_validator import RequestValidator

The current GitHub version has this correction, but the pip-installed version does not.

Please do let me know if I am foolishly missing something, or if this is a known problem.

Best, potc

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
mulkacommented, Aug 29, 2017

I’ve pushed a forked version of django-twilio to pypi as django-twilio2 which has the fix for this

1reaction
jheldcommented, Dec 28, 2017

Hi all,

I’m a new contributor/maintainer of this project. Thanks @rdegges. I’ll be looking through the issues and PRs as quickly as I can. Please provide any updates (usage, issues, workarounds) that you may have, or patches, as PRs; otherwise it’s in order of importance, followed by morality.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Primer on Python Decorators
In this introductory tutorial, we'll look at what Python decorators are and how to create and use them.
Read more >
Decorators in Python - GeeksforGeeks
Decorators are a very powerful and useful tool in Python since it allows programmers to modify the behaviour of a function or class....
Read more >
Python Decorators (With Examples) - Programiz
In Python, a decorator is a design pattern that allows you to modify the functionality of a function by wrapping it in another...
Read more >
Python Decorators Tutorial: What is a Decorator? - DataCamp
A decorator is a design pattern in Python that allows a user to add new functionality to an existing object without modifying its...
Read more >
How to Create and Use Decorators in Python With Examples
Python decorators allow you to change the behavior of a function without modifying the function itself. In this article I will show you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found