"""
URL configuration for the JASMIN notifications app.
"""

__author__ = "Matt Pryor"
__copyright__ = "Copyright 2015 UK Science and Technology Facilities Council"

from django.conf.urls import url, include

from . import views

app_name = 'jasmin_notifications'
urlpatterns = [
    url(r'^(?P<uuid>[a-zA-Z0-9-]+)/$', views.follow, name = 'follow'),
]

@@ -281,16 +281,25 @@
     url(
+%0A        
 r'%5E(?P%3Cu
@@ -307,25 +307,80 @@
 id%3E%5B
-a-zA-Z0-9-%5D+)/$',
+0-9a-f%5D%7B8%7D-%5B0-9a-f%5D%7B4%7D-%5B0-9a-f%5D%7B4%7D-%5B0-9a-f%5D%7B4%7D-%5B0-9a-f%5D%7B12%7D)/$',%0A       
  vie
@@ -389,16 +389,24 @@
 .follow,
+%0A       
  name = 
@@ -413,13 +413,18 @@
 'follow'
+%0A    
 ),%0A%5D%0A

Update regex to match only UUIDs