On 22 Mar 2007, at 06:57, Malcolm Tredinnick wrote:

>
> On Wed, 2007-03-21 at 23:36 -0700, [EMAIL PROTECTED] wrote:
>>> Hmm... if we do it, this feels like something that should be kept
>>> separate from the standard manage.py;

I don't mind "where" this functionality "lives"... and really don't  
want it to become complicated because then people who don't  
understand the guts of Django won't be able to use it...

Even putting examples in the comments would help me...

> The reasoning is that whilst it's not impossible to add this type of
> functionality, now we suddenly have a few dozen or a hundred more  
> lines
> of code that need to be maintained for something that isn't really  
> core
> functionality.

You can't argue, can you, that something shouldn't be included  
because it requires a few lines of code? As for defining what "core"  
functionality is... for me, usability is a core functionality...  
being teachable is core... and for a few lines of code, being helpful/ 
intelligent is at very least good marketing :-) It makes for a great  
demo...

Look at my code. It's terrible, but having recently shown Django to  
an ASP developer, I was struck by how much copying and pasting I had  
to do... how I forget how to define the class attributes... and the  
problem is, when you are copying and pasting, often you are  
reimplementing "poor" code... like using an int when you should be  
using a float...etc.

I'd love someone with some real python skills has a hack at this and  
makes it as fab as the rest of django... but if not, I'll keep  
hacking myself and see how it goes...

regards

tom
p.s I made another hack whereby, when you are in the shell you can  
drop into raw sql... which again, I find really useful.... is a bit  
rubbish... and not core functionality...
http://www.theotherblog.com/Articles/2007/03/21/python-sql-django-shell/




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

Reply via email to