Re: Run script from management.py

2007-08-27 Thread Adrian Holovaty
On 8/27/07, Casey T. Deccio <[EMAIL PROTECTED]> wrote: > I would find it extremely useful to pass a script argument to the > 'manage.py shell' command, so I could run arbitrary scripts using the > models library defined in project/app. I can't currently see a way to > do this except using input

Re: Admin and Related Models/Fields

2007-08-27 Thread Yuri Baburov
> > Obvious there's some more related tickets without any patches, but > > they are worthless. > > Did you look at #3400? It implements following related fields in the > admin 'list_filter' option. Thanks, Nick! That's exactly what I was looking for! I've also created solution for another often

Re: Proposal: Generic Pagination

2007-08-27 Thread Paul Davis
On 8/27/07, Iapain <[EMAIL PROTECTED]> wrote: > > > http://www.djangosnippets.org/snippets/378/ > Not really > > > http://www.djangosnippets.org/snippets/394/ > bit closer (should have used query string ?p=1 instead of /page/1) > I definitely wrestled with this. I ended up going without the

Re: Proposal: Generic Pagination

2007-08-27 Thread Iapain
> http://www.djangosnippets.org/snippets/378/ Not really > http://www.djangosnippets.org/snippets/394/ bit closer (should have used query string ?p=1 instead of /page/1) But still I prefer the way django.contrib.admin is doing. The core question is it should be included in django standard

Re: Offline HTML docs?

2007-08-27 Thread SmileyChris
And the demo was broken (thanks to permissions)... should be working again now... On Aug 27, 10:20 am, SmileyChris <[EMAIL PROTECTED]> wrote: > I've had very positive reports from users of my Django Docs app > (http://smileychris.tactful.co.nz/ramblings/django-documentation/). > > Do the core

Re: Proposal: Generic Pagination

2007-08-27 Thread Paul Davis
On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Something like this? > > http://www.djangosnippets.org/snippets/378/ > I extended a different snippet to do what I wanted. Posted it just now at [1]. I do think that this needs to be looked at, for my first django project, this was one

Re: Proposal: Generic Pagination

2007-08-27 Thread [EMAIL PROTECTED]
Something like this? http://www.djangosnippets.org/snippets/378/ On Aug 27, 9:48 am, Philipp Keller <[EMAIL PROTECTED]> wrote: > +1 > > I also looked into django.contrib.admin for that > thing and wanted to reuse the code there but ended in coding it myself. > > greets > Philipp > > On Mon,

Re: Problem in current svn TRUNK

2007-08-27 Thread Jeremy Dunck
On 7/11/07, Peter Nixon <[EMAIL PROTECTED]> wrote: ... > In any case, I listed the important packages in use on the system: > postgresql-server-8.2.4-5 > python-2.5.1-12 > python-psycopg2-2.0.6-2.5 > python-django-snapshot-5646-1 > > While these are all new packages, the only one which is

Re: Run script from management.py

2007-08-27 Thread George Vilches
Casey T. Deccio wrote: > I would find it extremely useful to pass a script argument to the > 'manage.py shell' command, so I could run arbitrary scripts using the > models library defined in project/app. I can't currently see a way to > do this except using input redirection: > > python

Run script from management.py

2007-08-27 Thread Casey T. Deccio
I would find it extremely useful to pass a script argument to the 'manage.py shell' command, so I could run arbitrary scripts using the models library defined in project/app. I can't currently see a way to do this except using input redirection: python manage.py shell < script.py Is there a

Re: Getting users to read the right docs (was Re: Time for a new release?)

2007-08-27 Thread Don Spaulding
Oh, and: [1]: http://code.djangoproject.com/browser/djangoproject.com/django_website/apps/docs --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to

Getting users to read the right docs (was Re: Time for a new release?)

2007-08-27 Thread Don Spaulding II
I'm also a lurker on the dev list, so excuse the interruption.  James Bennett wrote: Thus, the problem to solve here is simple: how do we ensure that someone who downloads the 0.96 release uses the 0.96 version of the documentation? Bundling HTML versions of the docs isn't a solution,

Re: Admin and Related Models/Fields

2007-08-27 Thread [EMAIL PROTECTED]
On Aug 26, 8:54 pm, Nick Lane <[EMAIL PROTECTED]> wrote: > On Aug 26, 9:44 am, "Yuri Baburov" <[EMAIL PROTECTED]> wrote: > > > > That being said if you could point me to the patch (if it exists) so > > > that I can try to help get it going again in or just lend another pair > > > of eyes that

Re: GSoC 2007: Reusable Django applications

2007-08-27 Thread Etienne Robillard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jannis, Thanks for your time writing this post. :) I like this idea of having reusable apps for Django all in the same place. Here's some suggestions. > My initial GSoC application [1] was divided in: > > 1) Create code infrastructure to

Re: Apache cookie based authentication

2007-08-27 Thread Chad Maine
This looks great. I've been using mod_auth_cookie in conjunction with a custom python auth handler, but I had been meaning to look at doing something like this. I'll check it out as soon as I can! Thanks. Chad On 8/26/07, SmileyChris <[EMAIL PROTECTED]> wrote: > > > I did some work on a new

Re: Proposal: Generic Pagination

2007-08-27 Thread Philipp Keller
+1 I also looked into django.contrib.admin for that thing and wanted to reuse the code there but ended in coding it myself. greets Philipp On Mon, Aug 27, 2007 at 08:40:45AM -, Iapain wrote: > > Introduction: > > Most of the time ObjectionPaginator server incomplete functionality >

Proposal: Generic Pagination

2007-08-27 Thread Iapain
Introduction: Most of the time ObjectionPaginator server incomplete functionality because some one have to generate a page bar[] in template. However some a kind of template tag would allow you to create a small tiny hack but not a generic one. I just looked inside django.contrib.admin and I