Re: CIDR Support for Django

2006-04-16 Thread Russell Keith-Magee
On 4/14/06, Rob Shakir <[EMAIL PROTECTED]> wrote: > > Thanks for the comments - I'll update the patch to add documentation > entries. Don't feel like you can't buck the trend and add unit tests, too :-) > Whilst I can see the point ref: adding support for datatypes that aren't > supported formal

Ideas for /examples/ directory

2006-04-16 Thread Adrian Holovaty
I've added an /examples/ directory in the magic-removal branch. It has an example app (URLconfs + views) that may help some people learn Django, although they're very basic examples at this point. They have their own settings file, which means you can run "python manage.py runserver" and see the e

Re: Extending templates programmatically

2006-04-16 Thread Adrian Holovaty
On 4/16/06, Ian Clelland <[EMAIL PROTECTED]> wrote: > Now I can do things like this: > > from django.template import Context, Template, loader > a = Template("{% extends templateone %}{% block one %}Hello {{ name > }}{% endblock %}") > b = Template("{% block one %}Stuff{% endblock %}") > a.render(

Re: Simplify admin template overrides

2006-04-16 Thread Rudolph
It would be nice if there was a simple way to include a bit of XHTML in the list-view just above the list. That way one could include links like "download CSV-file", "show statistics" or "help". Or one could include a bit of documentation like 'These categories are used to group your images.' Som

Extending templates programmatically

2006-04-16 Thread Ian Clelland
I've been looking into the django template system, and how to use it in situations other than html rendering (e.g, building up email messages from templates in the database) It would be very useful in these sorts of situations to be able to extend from a template that does not exist inside of a t