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
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.
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
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
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
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
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:
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
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
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
10 matches
Mail list logo