It appears the trunk has a problem with the url pattern matching.
Using the urlpatterns below, the url
/admin/invoicing/invoice/1/20080821.pdf is parsed into
'1/20080821.pdf' instead of '1'.

urlpatterns = patterns('',
    (r'^/?$', 'Billing2.invoicing.views.index' ),
    (r'^invoicing/invoice/(\d+)/\d+\.pdf$', 'Billing2.invoicing.views.pdf' ),
    (r'^invoicing/invoice/(\d+)/\d+\.html$', 'Billing2.invoicing.views.html' ),
    (r'^admin/(.*)', admin.site.root),
)

Also, here's the stack trace for the page with the error,
http://dpaste.com/72850/

-Tim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to