Re: making URL resolving/reversing gradually more flexible

2010-11-12 Thread Sam Lai
On 12 November 2010 23:14, burc...@gmail.com wrote: > First I thought you're going to return some instance with reverse > which has get_possibilities. > And you just want RegexURLPattern to register 3 usual regexes for you > instead of one. Effectively. I should've been more concise when writing

IP addresses in docs.

2010-11-12 Thread Łukasz Rekucki
Hi, While updating a patch for ticket #7735 I noticed that docs are inconsistent about how IP addresses should be written. Some are surrounded with double back quotes (``) and some are plain text[1]. After a quick search I also found a quoted one[2]. Is there a preferred way of writing IP address

Re: #14512: Decorating class based views (was Re: new class based views)

2010-11-12 Thread Łukasz Rekucki
Taking my best guess I removed the attribute based method from my patch and uploaded a new one[1]. Would be good to know if there is something obviously broken about my patch. [1]: http://code.djangoproject.com/ticket/14512 Cheers, Łukasz Rekucki -- You received this message because you are sub

Re: Django developer required

2010-11-12 Thread micrypt
Hi Tom, "Discussion group for Django developers. This group is used for discussion of developing Django itself, not user questions; Please use django-users for issues regarding using the framework, questions for the Django user community, outreach, etc." Cheers. On Nov 11, 10:35 pm, tom wrote:

Re: Papal module configuration in SATCHMO module

2010-11-12 Thread Russell Keith-Magee
On Fri, Nov 12, 2010 at 9:16 PM, tariq mahmood wrote: > sir how i can pass a variable value from django views to django template > while i am using return HttpResponseRedirect(url) instead of httpresponse. > I will be very thankfull of ur kind response When I said last time that django-developers

Looking for Django developers in and around Ramallah

2010-11-12 Thread Remco Wendt
Hello all, Sorry for putting this on the dev list, but for a Django related event we are organizing next year I'm looking for Django developers in and around Ramallah, preferably those active in participating in Django development itself. If anyone on the list lives there or knows someone living t

Re: Papal module configuration in SATCHMO module

2010-11-12 Thread tariq mahmood
sir how i can pass a variable value from django views to django template while i am using return HttpResponseRedirect(url) instead of httpresponse. I will be very thankfull of ur kind response -- You received this message because you are subscribed to the Google Groups "Django developers" group

Re: making URL resolving/reversing gradually more flexible

2010-11-12 Thread burc...@gmail.com
Hi Sam, On Fri, Nov 12, 2010 at 2:45 PM, Sam Lai wrote: > On 12 November 2010 19:14, burc...@gmail.com wrote: >> Ah, sorry, tl;dr happened to me in previous message. >> >> I used to do the following: >> >> alternatives = {'html': '/', 'xml': '.xml', 'json': '.json'} >> for name, alt in alternati

Re: making URL resolving/reversing gradually more flexible

2010-11-12 Thread Sam Lai
On 12 November 2010 19:14, burc...@gmail.com wrote: > Ah, sorry, tl;dr happened to me in previous message. > > I used to do the following: > > alternatives = {'html': '/', 'xml': '.xml', 'json': '.json'} > for name, alt in alternatives.iteritems(): >    urlpatterns += ('^newitems'+alt+'$', 'views.

Re: making URL resolving/reversing gradually more flexible

2010-11-12 Thread burc...@gmail.com
Ah, sorry, tl;dr happened to me in previous message. I used to do the following: alternatives = {'html': '/', 'xml': '.xml', 'json': '.json'} for name, alt in alternatives.iteritems(): urlpatterns += ('^newitems'+alt+'$', 'views.newitems', {'format': name}, 'newitems-'+name) You can make you