Decorating 3rd party app's views

Created on Sept. 21, 2012, 5:23 p.m. by Hevok & updated by Hevok on May 2, 2013, 5:24 p.m.

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
Parent: Web Framework

Update entry (Admin) | See changes

Comment on This Data Unit