Re: Match from list in URLconf

2007-07-29 Thread Matt the Destroyer
Perhaps try adding a URL pattern like the following: (r^(?P\w+)/$', 'project.views.user_page') Your view function (called "user_page") will now accept "user_name" as an argument in addition to the request object. I should warn you that using that regular expression could be dangerous, as it

Re: Match from list in URLconf

2007-07-29 Thread Matt the Destroyer
I missed a quote, it should be: (r'^(?P\w+)/$', 'project.views.user_page') On Jul 29, 10:16 pm, Matt the Destroyer <[EMAIL PROTECTED]> wrote: > Perhaps try adding a URL pattern like the following: > (r^(?P\w+)/$', 'project.views.user_page&#

Re: Template widget size

2006-07-27 Thread Matt the Destroyer
size=30 simply tells the browser to make the input field a size of 30 characters wide. it has no bearing on input data or transmission. in the past, i have simply hard-coded my own input fields into my templates so I can directly control the size and other attributes that i might want (such as o