-
Notifications
You must be signed in to change notification settings - Fork 1
/
urls.py
63 lines (62 loc) · 2.37 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/python
# -*- coding: utf-8 -*-
urls = (
r'/friend.add/?([^/]*)/?', 'friend_add',
r'/friend.remove/?([^/]*)/?', 'friend_remove',
r'/friend.request/?', 'friend_request',
r'/friend.request/p\.(\d+)/?', 'friend_request',
r'/friend.acceptadd/([^/]*)/?', 'friend_acceptadd',
r'/friend.accept/([^/]*)/?', 'friend_accept',
r'/friend.deny/([^/]*)/?', 'friend_deny',
r'/friends/([^/]*)/?p\.(\d+)/?', 'friends',
r'/friends/?([^/]*)/?', 'friends',
r'/followers/([^/]*)/?p\.(\d+)/?', 'followers',
r'/followers/?([^/]*)/?', 'followers',
r'/mentions/?', 'mentions',
r'/mentions/p\.(\d*)', 'mentions',
r'/privatemsg/(\d+)/?', 'privatemsg_viewreply',
r'/privatemsg/?', 'privatemsg',
r'/privatemsg/p\.(\d+)', 'privatemsg',
r'/privatemsg/sent/?', 'privatemsg_sent',
r'/privatemsg/sent/p\.(\d+)', 'privatemsg_sent',
r'/privatemsg.reply/?([^/]*)/?', 'privatemsg_reply',
r'/privatemsg.create/?([^/]*)/?', 'privatemsg_create',
r'/privatemsg.del/?([^/]*)/?', 'privatemsg_del',
r'/msg.new/?([^/]*)/?', 'msg_new',
r'/msg.del/?([^/]*)/?', 'msg_del',
r'/msg.reply/?([^/]*)/?', 'msg_reply',
r'/msg.forward/?([^/]*)/?', 'msg_forward',
r'/favorites/?([^/]*)/?', 'favorites',
r'/favorites/?([^/]*)/p\.(\d+)/?', 'favorites',
r'/msg.favorite.add/?([^/]*)/?', 'msg_favorite_add',
r'/msg.favorite.del/?([^/]*)/?', 'msg_favorite_del',
r'/userview/([^/]*)/?', 'userview',
r'/userview/([^/]*)/p\.(\d+)/?', 'userview',
r'/dialogue/([^/]*)/?', 'dialogue',
r'/dialogue/([^/]*)/p\.(\d+)/?', 'dialogue',
r'/statuses/([^/]*)/?', 'statuses',
r'/browse/?', 'browse',
r'/photo.del/?([^/]*)/?', 'photo_del',
r'/photo.upload/?', 'photo_upload',
r'/photo([^/]*)/([^/]*)/?', 'photo',
r'/album/([^/]*)/p\.(\d+)/?', 'album',
r'/album/?([^/]*)/?', 'album',
r'/favorites/?', 'favorites',
r'/search/?', 'search',
r'/logout/?.*', 'logout',
r'/settings/?', 'settings',
r'/callback/?', 'callback',
r'/authorize/?', 'authorize',
r'/autologin.confirm/?', 'autologin_confirm',
r'/autologin/?', 'autologin',
r'/share.confirm/?', 'share_confirm',
r'/share/?', 'share',
r'/debug/?', 'debug',
r'/q/(.*)', 'query',
r'/', 'home',
r'/help', 'help',
r'/home/?', 'home',
r'/home/p\.(\d+)/?', 'home',
r'/([^/]+)/?', 'space',
r'/([^/]+)/p\.(\d+)/?', 'space',
)