Re: passing data with urls.py

2008-10-14 Thread Tim Chase
>>http://docs.python.org/lib/re-syntax.html >> >> There are several good books and websites that will teach you the >> basics of regexps, and a quick search will bring back a number of >> results. > > Thank alot thats the best response I have had. Glad to help...though in a way, it's as much

Re: passing data with urls.py

2008-10-13 Thread bruno desthuilliers
On 13 oct, 23:14, KillaBee <[EMAIL PROTECTED]> wrote: (snip) > > I creted the url strucure like I want it ,and the user was add to the > url. Nope. The user *id*. > How can I just display it on a page. I was thinking that I was > not login in cerrectlly, but only on the login can I use the aut

Re: passing data with urls.py

2008-10-13 Thread KillaBee
On Oct 13, 2:39 pm, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > On 13 oct, 20:13, KillaBee <[EMAIL PROTECTED]> > wrote: > > > > > I am want in to pass the user and a date, using the url.  Like the > > polls urls > > (r'^(?P\d+)/$', 'intranet.timesheets.views.detail'), > > > I tried these, b

Re: passing data with urls.py

2008-10-13 Thread bruno desthuilliers
On 13 oct, 20:13, KillaBee <[EMAIL PROTECTED]> wrote: > I am want in to pass the user and a date, using the url. Like the > polls urls > (r'^(?P\d+)/$', 'intranet.timesheets.views.detail'), > > I tried these, but I am missing a piece: > urlpatterns = patterns('', > (r'^timesheet/(?P)/$', > 'i

Re: passing data with urls.py

2008-10-13 Thread KillaBee
On Oct 13, 1:53 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > > I tried these, but I am missing a piece: > > urlpatterns = patterns('', > >     (r'^timesheet/(?P)/$', > > 'intranet.timesheets.views.times'), > >     (r'^timesheet/(?P\d{20})/$', > > 'intranet.timesheets.views.times'), > >     (r'^tim

Re: passing data with urls.py

2008-10-13 Thread Tim Chase
> I tried these, but I am missing a piece: > urlpatterns = patterns('', > (r'^timesheet/(?P)/$', > 'intranet.timesheets.views.times'), > (r'^timesheet/(?P\d{20})/$', > 'intranet.timesheets.views.times'), > (r'^timesheet/(?P\d{20})/(?P\d{10})/$', > 'intranet.timesheets.views.times'), >

passing data with urls.py

2008-10-13 Thread KillaBee
I am want in to pass the user and a date, using the url. Like the polls urls (r'^(?P\d+)/$', 'intranet.timesheets.views.detail'), I tried these, but I am missing a piece: urlpatterns = patterns('', (r'^timesheet/(?P)/$', 'intranet.timesheets.views.times'), (r'^timesheet/(?P\d{20})/$', 'i