I am trying to match the following URL:

http://127.0.0.1:8000/services/oembed/?ref=http://127.0.0.1:8000/media/slug/guid/

And the regex that I am using:

urlpatterns = patterns('',
    url(r'^oembed/(?P<http>[-\w]+)//(?<site>[-\w]+)/media/(?P<slug>[-
\w]+)/(?P<guid>[-\w]+)/$', 'brokersite.services.views.mediaoembed'),
)

Imported form the main urls.py like so:

(r'^services/', include('services.urls')),

Just isn't working, and it looks like a RegEx problem to me, but I am
not sure why..



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to