I am having some trouble writing the regex portion of the url for a Django project.
I want to be able to route along with capturing a profile ID
URL Example: www.somesite.com/profile/12345678901
This is what I have so far
url(r'^profile/$', views.dashboard, name='widget')
Whats the correct REGEX that should go after the profile/? How would I capture the numeric part after the profile/? once I am in the view?
Thanks,
and in the view