On Wed, 2007-05-30 at 10:58 -0400, Jason McVetta wrote:
> On 5/29/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> Or you could subclass DatabrowseSite -- in your own code
> somewhere; no
> need to even modify the source -- and override the root()
> method to do
On 5/29/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> Or you could subclass DatabrowseSite -- in your own code somewhere; no
> need to even modify the source -- and override the root() method to do
> an auth-check first and then call DatabrowseSite.root(). Then you
> replace databrowse.site
On Tue, 2007-05-29 at 15:30 -0400, Jason McVetta wrote:
> What is the right way to require a user be authenticated when using
> the databrowse module? I tried adding @login_required decorators to
> both functions in databrowse.views, but that did not work -- it
> appears databrowse does not prese
What is the right way to require a user be authenticated when using the
databrowse module? I tried adding @login_required decorators to both
functions in databrowse.views, but that did not work -- it appears
databrowse does not presently use its views.py. I also tried decorating
databrowse.Databr
4 matches
Mail list logo