Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Feed views #1

Open
LennyLip opened this issue Jan 16, 2015 · 0 comments
Open

Does not work with Feed views #1

LennyLip opened this issue Jan 16, 2015 · 0 comments

Comments

@LennyLip
Copy link

  File "/usr/local/lib/python2.7/dist-packages/django_throttling/util.py", line 29, in __init__
    self.view_name = '%s.%s' % (view_func.__module__, view_func.__name__)
AttributeError: 'LatestFeed' object has no attribute '__name__'

LatestFeed is

from django.contrib.syndication.views import Feed
LatestFeed(Feed)

disable app does not helped

DJANGO_THROTTLING_ENABLED = False

only disable 'django_throttling.middleware.ThrottleMiddleware' stops error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant