Skip to content

Commit 834b5c7

Browse files
author
Josh Owen
committed
make callable dummy view
1 parent 4285265 commit 834b5c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

robots/tests/urls_profile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
from robots.utils import url
55

66
urlpatterns = [
7-
url(r'^s$', 'view', name='profiles', robots_allow=True),
8-
url(r'^/(?P<nick>\w+)$', 'view'),
9-
url(r'^/(?P<nick>\w+)/private', 'view', name='profile_private', robots_allow=False),
10-
url(r'^/(?P<nick>\w+)/public', 'view', name='profile_public', robots_allow=True),
7+
url(r'^s$', lambda x: (), name='profiles', robots_allow=True),
8+
url(r'^/(?P<nick>\w+)$', lambda x: ()),
9+
url(r'^/(?P<nick>\w+)/private', lambda x: (), name='profile_private', robots_allow=False),
10+
url(r'^/(?P<nick>\w+)/public', lambda x: (), name='profile_public', robots_allow=True),
1111
]

0 commit comments

Comments
 (0)