Re: Pydoc and security

2010-11-21 Thread Robert S
Thanks, I've just added the following line near the start of my
settings file ...

__all__ = ['INSTALLED_APPS']

... that looks much better

On Nov 21, 8:24 pm, Masklinn  wrote:
> On 2010-11-21, at 21:19 , Robert S wrote:
>
> > I'm not!
> > Pydoc is picking up any variables that are not hidden in classes of
> > functions.
>
> > Is there a command to (selectivly) stop this?
>
> PyDoc respects __all__.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Pydoc and security

2010-11-21 Thread Masklinn
On 2010-11-21, at 21:19 , Robert S wrote:
> I'm not!
> Pydoc is picking up any variables that are not hidden in classes of
> functions.
> 
> Is there a command to (selectivly) stop this?

PyDoc respects __all__.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Pydoc and security

2010-11-21 Thread Robert S
I'm not!
Pydoc is picking up any variables that are not hidden in classes of
functions.

Is there a command to (selectivly) stop this?

On Nov 21, 11:35 am, Łukasz Rekucki  wrote:
> On 20 November 2010 23:31, Robert S  wrote:
>
> > Hi
> > I'm trying generate documentation for a django project.
>
> > The obvious tool is pydoc, which does work.  The trouble is, pydoc
> > publishes everything ... including passwords.
>
> Why would you put any passwords in docstrings ?
>
> --
> Łukasz Rekucki

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Pydoc and security

2010-11-21 Thread Łukasz Rekucki
On 20 November 2010 23:31, Robert S  wrote:
> Hi
> I'm trying generate documentation for a django project.
>
> The obvious tool is pydoc, which does work.  The trouble is, pydoc
> publishes everything ... including passwords.

Why would you put any passwords in docstrings ?

-- 
Łukasz Rekucki

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Pydoc and security

2010-11-20 Thread Robert S
Hi
I'm trying generate documentation for a django project.

The obvious tool is pydoc, which does work.  The trouble is, pydoc
publishes everything ... including passwords.

Is there a simply way of controlling the output from pydoc?

TIA

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.