Re: Some suggestion about date_base generic view function

2006-02-15 Thread Max Battcher
Ken Kennedy wrote: > Yep...I'm actually dealing with that today. It's instead only returning > a list of datetimes that represent the months within that year that > contain objects. (ie, if it's a blog, and you have posts in Oct-Dec of > 2005, then the date_list would contain datetime objects for

Re: Magic-Removal Branch

2006-02-15 Thread Luke Plant
On Wednesday 15 February 2006 20:59, ChaosKCW wrote: > Hi > > I hope this is the correct place. > > I just took downloaded the magic removal branch, and entered some > models in the new way. > > manage.py sql* functions dont seem to work. > > if i run the manage.py shell, and import manually it a

Re: are TinyMCE + other HTML input editors safe to use.

2006-02-15 Thread akaihola
My solution was to prevent harmful tags and attributes in TinyMCE's configuration. Even copy-pasting from word processors works ok now. For more information see: http://groups.google.com/group/django-users/msg/60ad1f2a544ec2d4 --~--~-~--~~~---~--~~ You received t

Magic-Removal Branch

2006-02-15 Thread ChaosKCW
Hi I hope this is the correct place. I just took downloaded the magic removal branch, and entered some models in the new way. manage.py sql* functions dont seem to work. if i run the manage.py shell, and import manually it appears to work, but manage.py sql or sqlall or install, just error. I

Re: Some suggestion about date_base generic view function

2006-02-15 Thread Ken Kennedy
>>> archive_index is date_list >>> archive_year is date_list > But archive_year doesn't return a object list Yep...I'm actually dealing with that today. It's instead only returning a list of datetimes that represent the months within that year that contain objects. (ie, if it's a blog, and you

Re: Bulk Delete - Take 3, descriptor style

2006-02-15 Thread Luke Plant
On Tuesday 14 February 2006 05:17, Russell Keith-Magee wrote: > On 2/14/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > This change, at a glance, looks good. Go ahead and commit it. > > Ok. Will do. After your commit, I updated my patch that removes '.all()' for related objects, to take accoun

Re: Proposal: custom admin field templates

2006-02-15 Thread Adrian Holovaty
On 2/14/06, hugo <[EMAIL PROTECTED]> wrote: > But one thing I think about: wouldn't it be needed to have some > overrideable function to handle the data from the custom template? > Because the current code still expects the data in the same format as > it would have with the default template - so

Re: are TinyMCE + other HTML input editors safe to use.

2006-02-15 Thread scum
I just started using TinyMCE inside django's admin interface on one site I'm working on. Simon is right... it's a bit sloppy and, from my experience, really falters when pasting text. I've even had pages not saving correctly after pasting text from another application. As long as I stick with e

Re: DoJo Integration & JSON methods

2006-02-15 Thread scum
simplejson rocks. no objections here.

Re: Django auth magic

2006-02-15 Thread Brian William Kaplan
Nevow (http://www.nevow.com/) uses twisted.cred.

Re: Food for Thought: Yahoo User Interface Library

2006-02-15 Thread Daniel Poelzleithner
limodou wrote: > I agree! But dojo seems too large? I also havenot played with it so far. dojo is large but very modular. it can load stuff on demand if you make it right, so there is not much blow there. what sense does it make to use a toolkit that implements only a small subset for widgets th

Re: Some suggestion about date_base generic view function

2006-02-15 Thread limodou
On 2/15/06, limodou <[EMAIL PROTECTED]> wrote: > Recently I'm dealing with date_base generic view function. But I found > that the object list returned are not the same name, for example: > > archive_index is date_list > archive_year is date_list I made a mistake that: archive_index is lastest

Some suggestion about date_base generic view function

2006-02-15 Thread limodou
Recently I'm dealing with date_base generic view function. But I found that the object list returned are not the same name, for example: archive_index is date_list archive_year is date_list archive_month is object_list archive_day is object_list why the names are not the same? And sometimes I a