Re: Variable number of parameters in urlconf

2006-02-07 Thread Nebojša Đorđević
On 2006-02-07, at 11:47 CET, [EMAIL PROTECTED] wrote: Well I'm probably doing something wrong with this: urlpatterns = patterns('nesh.csstemplate.views', (r'([\w\.-]+/?)+', 'css'), ) because I constantly get only a *last* part of URL. that's how regular expressions work. each group can

Re: Variable number of parameters in urlconf

2006-02-07 Thread [EMAIL PROTECTED]
Nebojša Ðordevic wrote: > Well I'm probably doing something wrong with this: > > urlpatterns = patterns('nesh.csstemplate.views', > (r'([\w\.-]+/?)+', 'css'), > ) > > because I constantly get only a *last* part of URL. that's how regular expressions work. each group can only match one stri

Variable number of parameters in urlconf

2006-02-07 Thread Nebojša Đorđević
Well I'm probably doing something wrong with this: urlpatterns = patterns('nesh.csstemplate.views', (r'([\w\.-]+/?)+', 'css'), ) because I constantly get only a *last* part of URL. For example: when /foo/css/layout.css is requested this urlconf is supposed to call css function with 'foo