On Aug 3, 3:53 am, chairface <brent.hag...@gmail.com> wrote:
> Also, it is only a single video, but that video
> is a pretty good resource for the topic of Django's future.  It was
> the topic of the entire hour.  Are you implying that it's a poor
> source for people wondering where Django is going?  It was explicitly
> designed to be exactly that kind of source.

I'm sorry if I gave that impression, but it really wasn't my
intention. The talk was titled "Django Heresies" partly because I
wanted to emphasize that it was NOT a discussion of Django's intended
future - it was more an exploration of things which one person (me)
thought we should reconsider as a community and open up for further
discussion. It was meant to be controversial!

> Simon has not justified why his particular preference for imports
> necessarily meets even the common case and why he, or somebody else,
> cannot put their own choices for common imports into a single that they
> import (pretty normal "reduce repetition" pattern in Python).

All I was saying is that I find myself repeating the same imports at
the top of every views.py - and wondering if there's a better option.
For my own projects I inevitably end up creating my own shortcuts.py
module. I wish I didn't have to.

As an aside, I've been experimenting with the single import pattern
(which I rather like, but everyone else seems to hate) in djng:

http://github.com/simonw/djng/blob/953eb33390972cbdd0ac0a52e3b23bfdd55e2cfe/example_forms.py

Cheers,

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

Reply via email to