Re: documentation re-factor for 1.3?

2010-07-05 Thread Peter2108
As an 'intermediate' django user from time to time I need to look at the Django code to fill out gaps in the documentation. I think this is fine: "use the sourse, Luke" has always been a Python thing. But it would be nice if developers could describe each parameter to the function/method. This des

Documentation of File.url incomplete

2009-07-26 Thread Peter2108
In the docs for the File object (http://docs.djangoproject.com/en/dev/ ref/files/file/#django.core.files.File) we have: File.url The URL where the file can be retrieved. This is often useful in templates; for example, a bit of a template for displaying a Car (see above) might look like:

Token parsing

2009-01-21 Thread Peter2108
Not quite sure if this is the place to post this. Anyway, in the module template.loader.tags the do_extends function parses a tokens content like this:bits = token.contents.split() which does not work correctly if the extends path has a folder name with a space in it (as one of mine did). I r