title: How to register a decorator or add a middleware to a third party view function?
body: <p>I use django-allauth for account management including signup. The built-in url in allauth app for signup is <code>http://example.com/accounts/signup/</code>. I need to show a Terms &amp; Conditions page before going to signup page. Now, any one can type this URL directly in browser to go to signup page without reading the T&amp;C page. But they should.</p>
  
  <p>How could I do this? Is there any way to add a decorator to that view or any other ways without decorator? The same applies to any admin views.</p>