Re: {% url %} for generic views (proposal)

2007-03-27 Thread Ivan Sagalaev
Malcolm Tredinnick wrote: > Extending the URL resolving system is easier if we have an object to > work with instead of a tuple for those entries. Ah, I see it. However let's make it a separate issue. I'm afraid that if we start solving "{% url %} for generic views" issue with the "urlpatterns

Re: {% url %} for generic views (proposal)

2007-03-27 Thread Malcolm Tredinnick
On Wed, 2007-03-28 at 08:22 +0400, Ivan Sagalaev wrote: > Malcolm Tredinnick wrote: > > I'd been slowly arriving at the same solution for a related set of > > problems. I was going to whack in another optional (fourth) argument to > > the tuple > > That was actually the second part of my proposal

Re: {% url %} for objects

2007-03-27 Thread Ivan Sagalaev
Adrian Holovaty wrote: > I'm a strong -1 on having generic-view-specific permalink functions > and template tags like this. This solution goes after the symptoms > rather than the fundamental problem, which is that the current reverse > URL implementation cannot handle multiple URL patterns for th

Re: {% url %} for generic views (proposal)

2007-03-27 Thread Ivan Sagalaev
Malcolm Tredinnick wrote: > I'd been slowly arriving at the same solution for a related set of > problems. I was going to whack in another optional (fourth) argument to > the tuple That was actually the second part of my proposal :-) >, but, you're right that a function call here makes things a

Re: {% url %} for generic views (proposal)

2007-03-27 Thread Nicolas E. Lara G.
Hello, I have a proposal for solving this problem on http://hagen.ac.labf.usb.ve/nicolas/gsoc/url-objects/. Maybe you'll like it. Personally I dislike the idea of having a different method for reversing generic views. I believe that the same method should be use for any view. But I like the labeli

Re: {% url %} for generic views (proposal)

2007-03-27 Thread Malcolm Tredinnick
On Tue, 2007-03-27 at 16:57 -0500, Adrian Holovaty wrote: > On 3/13/07, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > So for "object_list" and "object_detail" I propose this syntax: > > > > {% obj_url "appname.ModelName" id %} > > {% obj_list_url "appname.ModelName" %} > > > > Both GVs ha

Re: {% url %} for generic views (proposal)

2007-03-27 Thread Adrian Holovaty
On 3/13/07, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > So for "object_list" and "object_detail" I propose this syntax: > > {% obj_url "appname.ModelName" id %} > {% obj_list_url "appname.ModelName" %} > > Both GVs have their own tag that knows the actual name of a GV (like > "django.view

Re: Newforms: colon after label

2007-03-27 Thread David Danier
Perhaps the user-mailinglist is a better place for this, but anyway... > I don't think the library should add text like that, what do you > think? I really think it should. The methods defined in the form are some default, that can be used if appropriate. If not newforms is usable in any way yo

Re: Newforms: colon after label

2007-03-27 Thread SmileyChris
On Mar 28, 9:03 am, "vfoley" <[EMAIL PROTECTED]> wrote: > Hello, > > I rewrote the forms portion of an application by using newforms. It's > pretty nice, however there is something extremely annoying: newforms > automatically adds a colon after labels (hopefully, my formatting is > correct): Thi

Newforms: colon after label

2007-03-27 Thread vfoley
Hello, I rewrote the forms portion of an application by using newforms. It's pretty nice, however there is something extremely annoying: newforms automatically adds a colon after labels (hopefully, my formatting is correct): Out[58]: class ExampleForm(forms.Form): name = forms.Char

Indian Cricket Team after World Cup 2007

2007-03-27 Thread Rania
Indian Cricket Team after World Cup 2007 Fun2kaFour -- Fun stuff

Re: Sorry...

2007-03-27 Thread Will McCutchen
On Mar 27, 7:25 am, "Ben Ford" <[EMAIL PROTECTED]> wrote: > Wouldn't you know it I have a very good book on svn (the pragmatic one) but > it's in New Zealand and I'm in Indonesia! Doh! There's also the great and free SVN Book available on the web: http://svnbook.red-bean.com/ Hope this helps,

Recipes for you - The most Delicious foods

2007-03-27 Thread Rania
Chinese Vegetarian Food - Tofu Stir Fry Onions Chinese Vegetarian Food - Tofu Stir Fry Onions

DeQuba

2007-03-27 Thread [EMAIL PROTECTED]
http://www.ougo.com/setup.exe http://dequba.com/signup.php?REF=22264 http://neterminator.com/signup.php?REF=12405 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, s

Re: Get function name after....

2007-03-27 Thread mario__
On Mar 27, 1:32 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > > I really don't want to be the "bad cop" here, but developers with > users questions still need to ask them on the users list. > Don't worry, my mistake. When I have finished my "security" idea I'll drop a line here. Reg

Re: Ticket #1327 - Support nightly-build download

2007-03-27 Thread Jacob Kaplan-Moss
On 3/27/07, Jannis Leidel <[EMAIL PROTECTED]> wrote: > I just uploaded a patch [1] to add nightly functionality as discussed > in ticket #1327 [2] to the django_website application which you may > find useful. Nifty nifty :) I'll work on adding it to the site -- thanks! Jacob --~--~-~-

Re: Get function name after....

2007-03-27 Thread Jacob Kaplan-Moss
On 3/27/07, mario__ <[EMAIL PROTECTED]> wrote: > well, I think this is Django development question. I need it because > I'm the author of the thread called: "Authentication issue (Proposal)" > and to know how resolve() works will be great. It could help me a lot. I really don't want to be the "b

Re: Get function name after....

2007-03-27 Thread mario__
On Mar 27, 12:54 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > Hi Mario -- > > On 3/27/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote: > > > Hello, I'm trying to know the callback name after a resolve process > > [snip] > > Please direct questions of this nature to django-users; django-dev is

Re: Get function name after....

2007-03-27 Thread Jacob Kaplan-Moss
Hi Mario -- On 3/27/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote: > Hello, I'm trying to know the callback name after a resolve process [snip] Please direct questions of this nature to django-users; django-dev is used to discuss the development of Django itself, not to answer usage questions.

Ticket #1327 - Support nightly-build download

2007-03-27 Thread Jannis Leidel
I just uploaded a patch [1] to add nightly functionality as discussed in ticket #1327 [2] to the django_website application which you may find useful. It's based on pysvn and could be either triggered by going to http://www.djangoproject.com/nightlies/latest.tar.gz (zip and tar.bz2 also possible)

Get function name after....

2007-03-27 Thread Mario Gonzalez
Hello, I'm trying to know the callback name after a resolve process from django.conf import settings from django.http import HttpResponse from django.core.urlresolvers import resolve class AuthorizedMiddleware(object): def process_request(self, request): return HttpResponse(str(

Re: django documentation - editing

2007-03-27 Thread Istvan Albert
On Mar 25, 8:06 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > I fear that one day I will achieve that and will then be asked to leave > the safety of the monastery and journey the world righting injustice in > episodic television format... that is quite funny ... one more reason to read t

Re: Sorry...

2007-03-27 Thread Ben Ford
Thanks very much guys, Wouldn't you know it I have a very good book on svn (the pragmatic one) but it's in New Zealand and I'm in Indonesia! Doh! A ray of hope might be that I don't think that muliple-db-support changed that many files so it might not to soul destroying to fix the merge. If someon

Re: Support for a binary storage field?

2007-03-27 Thread mario__
On Mar 26, 7:26 pm, "Honza Král" <[EMAIL PROTECTED]> wrote: > > network filesystem or NAS is the 'right solution' here, even if NFS is > not the best solution performance-wise (NFS is slow) its still WAY > faster than DB and can be on a separate box. again, this is important GFS should be bette

Re: Sorry...

2007-03-27 Thread Robert Coup
Russell Keith-Magee wrote: > The branches are all independent, and depending on how active the > branch is, a branch may not be up to date with the trunk, let alone > other branches. If one branch were to cleanly merges into another, I > would be extremely surprised - doubly so for the more compl

Re: Sorry...

2007-03-27 Thread Russell Keith-Magee
On 3/27/07, Ben Ford <[EMAIL PROTECTED]> wrote: > Hi there, > > I tried to merge the > multiple-db-support branch onto my working copy, merging r3198:HEAD as 3198 > was when the branch was created, but it failed and i ended up with a lot of > < .working and similar dotted around the files. Th

Sorry...

2007-03-27 Thread Ben Ford
Hi there, First off sorry for asking a 'non-django-dev' question here... I've been playing with a number of different branches recently (gis, boulder-oracle-sprint and now multiple-db-support). My working copy is the gis branch with a lot of the boulder-sprint stuff merged in (in fact come to thi

Re: Support for a binary storage field?

2007-03-27 Thread Noah Slater
> this would be like doing exact opposite - put the load of serving > static files onto the already busy DB server All of your arguments are based on the assumption that files would be served from the database. The only sane environment would be to store the files in the database as a reference