[Mailman-Developers] admindb.py question ( or a bug/faillure ?)

Danny Terweij danny@terweij.nl
Mon, 13 May 2002 21:05:36 +0200


Hi,

Did copy the settings also to mm_cfg.py
Did change the admin.py to normal state.

And same results, nothing happens when the submit button is pressed when
approval is set.

I changed my admindburl back to my setting and now i can approve the
messages.

Next step :
Change a variable in ???.py to accept the member options.
It is now getting to work here .. almost complete.
But i see still at the page sources in my browser a lot of lnx.poema.yi.org
links..
Can not find it where it is getting it from.

Danny.



----- Original Message -----
From: "Bob Weissman" <rlw@rlw.best.vwh.net>
To: "Danny Terweij" <danny@terweij.nl>
Sent: Monday, May 13, 2002 7:57 PM
Subject: Re: [Mailman-Developers] admindb.py question ( or a bug/faillure ?)


> You are not supposed to change Defaults.py. You are supposed to override
Defaults.py in mm_cfg.py instead. Perhaps something in mm_cfg.py is
overriding your change in Defaults.py.
>
> - Bob
>
> At 10:48 AM 5/13/02, you wrote:
> >Hi,
> >
> >I changed Defaults.py :
> >
> >DEFAULT_EMAIL_HOST = 'lnx.poema.yi.org'
> >DEFAULT_URL_HOST = 'poema.yi.org:81'
> >DEFAULT_URL_PATTERN = 'http://%s:81/mailman/'
> >DEFAULT_HOST_NAME = 'poema.yi.org'
> >DEFAULT_URL       = 'http://poema.yi.org:81/mailman/'
> >
> >Then mailmanctl restart
> >
> >Then i checked the site :
> >
> >http://poema.yi.org:81/mailman/admindb/poema-test
> >
> >Logged in and looked at the source code of the webpage :
> ><FORM action="http://lnx.poema.yi.org/mailman/admindb/poema-test"
method="POST" >
> >Where does this lnx.poema.yi.org is comming from?
> >
> >I did looked at admindb.py :
> >
> >Line number 172
> >admindburl = mlist.GetScriptURL('admindb', absolute=1)
> >
> >Where is it getting the url from? Not from the default settings at
Defaults.py (see above).
> >
> >Can any one tell me what the admindburl is holding for variable?
> >Can i change it to :
> >admindburl = 'http://poema.yi.org:81/mailman/' ( depends what the
variable is..)
> >
> >Danny Terweij.
> >
> >
> >
> >
> >
> >
> >
> >
> >Groetjes Danny Terweij
> >
> >
> >_______________________________________________
> >Mailman-Developers mailing list
> >Mailman-Developers@python.org
> >http://mail.python.org/mailman-21/listinfo/mailman-developers
>