Decorating 3rd party app's views


There are several ways on how to decorate a third party apps' views:

  1. Middleware
  2. Magic url to apply the decorator
  3. url(r^authurls', login_requeired(include('someapp.urls', login)url='path/to/login')
  4. Include Urls Decorated
  5. Reusable Include
Tags: django


Edit post (Admin)

Comment on This Data Unit