Re: Can you add a variable to a block?

2007-04-20 Thread Scanner
On Apr 20, 9:44 am, Frank Peterson <[EMAIL PROTECTED]> wrote: > {% block {{story.title}} %}{% endblock %} > > Maybe my question should be can i add a varible inside {% %} ? Yes and no. {% block .. %} is a tag, and tags can be written to understand and resolve variables as arguments. However, I

a way to find out which page (as determined by the paginator) that a specifc object occurs on?

2007-04-15 Thread Scanner
I am making an app that lists a number of objects using the tried and true paginator to which you pass a fairly arbitrary queryset. The issue is I want users to be able to save a link to a specific entry without having them specify which page in a multipage listing to go to. It is probably

Re: tracking per-object-permissions branch, merging in from trunk, and fixing problems, adding features.

2007-03-23 Thread Scanner
On Mar 22, 5:50 pm, "Matthew Flanagan" <[EMAIL PROTECTED]> wrote: > I'm definitely interested in the results. Why don't you apply to get > check-in permissions on the per-object-permissions branch? That way it > can be accessible to the whole django community. Contact Jacob > Kaplan-Moss to get

tracking per-object-permissions branch, merging in from trunk, and fixing problems, adding features.

2007-03-22 Thread Scanner
On Jan 16, 12:32 pm, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > On 1/16/07 4:05 AM, Russell Keith-Magee wrote: > > > Given the current push towards 1.0, it seems likely that this > > particular merge will not get the attention of the core developers in > > the immediate future (at least

Re: Per object permissions

2007-02-08 Thread Scanner
to try to merge stuff from main in to my checked out copy for my own purposes. It does not look like this will be too painful for me to main for myself for these projects. --Scanner --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Per object permissions

2007-02-07 Thread Scanner
sponse or I have not gotten any response. --Scanner --~--~-~--~~~---~--~~ 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 unsubscri

Re: Want to see your favorite branch merged? Here's how you can help!

2006-11-06 Thread Scanner
James Bennett wrote: > Jacob mentioned this a while back, and I've just reiterated it on the > dev list, but I feel like this is important enough to mention here as > well: if there's a particular branch whose features you're clamoring > for, and you're willing to pitch in and help test and

New derived field classes and associated forms classes.

2006-07-19 Thread Scanner
I have a need for extending some of the fields provided by django to do a whole host of things from the simple and obvious to the sick and twisted. I have stuff that is working but I was wondering if what I was doing was the right way to go about it instead of the various bits of pounding I have

Re: Idea: improved foreign key selection using auto-complete.

2006-06-21 Thread Scanner
Jeremy Dunck wrote: > I've seen the Ellington admin and the fact that it uses raw_id_admin a > good bit. I was thinking about making an auto-complete widget. > > Something like: > > class Article(models.Model): > headline=TextField() > > class Reporter(models.Model): > favorite_articles =

Re: Subclassing in Trunk

2006-06-07 Thread Scanner
It does not work currently. Ticket #1656 at djangoproject refers to this: http://code.djangoproject.com/ticket/1656 This is apparently one of the projects being covered by the Google Summer of Code. Some discussion of it is at: http://code.djangoproject.com/wiki/ModelInheritance I myself need

Re: Ajax support, there is no need for reinventing the wheel

2006-06-03 Thread Scanner
Jorge Gajon wrote: > I totally agree. > > I certainly would not like to see more complexity added by bundling an > X or Y Ajax library. Better let the developer choose whatever js > library he wants. > > I've been using MochiKit for the client side and SimpleJSON at the > server side which is

Anyone out there writing custom filters? (I have one, works in the dev site, but requires a different import under mod_python)

2005-08-19 Thread Scanner
Hello, this may be a bug but I was sent here. I have a django project with three apps. There are three apps to seperate out kinds of data models. However the views of the apps build on each other. The documentation implies you can define your own filters but does not detail how this is done so