Re: what's the right way to extend an admin view with AJAX?

2010-03-01 Thread Derek
Well, 1.2 is due out any day now... and hopefully you will be able to upgrade. I am sure that, if the current track record of Django is anything to go by, the documentation will "meet or exceed" the quality of the code! That's just one advantage of working with a platform developed by

Re: what's the right way to extend an admin view with AJAX?

2010-03-01 Thread snfctech
Thanks for the link, Derek. It's good to know that Django is integrating more JS into the admin - although I'm using 1.1.1, not 1.2. Hopefully customizing the admin with JQuery will make its way into the core documentation, as well. On Mar 1, 12:31 am, derek wrote: >

Re: what's the right way to extend an admin view with AJAX?

2010-03-01 Thread derek
Before you give up hope ;) you should read this: http://djangoadvent.com/1.2/jquery-admin/ In the meanwhile, yes, there are a ton of good blog entries out there on how to extend the admin with javascript (usually jQuery). When I am feeling more organised, I will try and post some links here...

Re: what's the right way to extend an admin view with AJAX?

2010-02-26 Thread snfctech
Thanks for the encouragement, Timothy. I haven't given up, but I'm scratching my head, and puzzled by why I have to look at people's blog posts to figure out how to use javascript/AJAX with Django. It may be that I disagree with Django's philosophy that the framework should not be coupled with

Re: what's the right way to extend an admin view with AJAX?

2010-02-26 Thread Timothy Kinney
Django was definitely designed to be extended. But it is sometimes hard to find the write ways to extend what you specifically want. Don't give up on extending admin. Hopefully someone will point you in the write direction. On Fri, Feb 26, 2010 at 11:06 AM, snfctech

what's the right way to extend an admin view with AJAX?

2010-02-26 Thread snfctech
(Disclamor: I am new to Python/Django. Used to PHP/MVC ways of doing things.) I want to customize the admin view, because it already does >50% of what I want for my application. So, do I... 1. Alter the HTML sent to the template? One of the first things I want to do is add an AJAX onclick