-
-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Personal Tokens #7212
Personal Tokens #7212
Changes from 153 commits
f331c35
2e0d89b
efc9e86
ae5a819
3cab1fe
ada5c20
cb5d481
3e860bb
56a9ba7
84de5c2
f6464f0
1677df1
45f7716
4f5b1be
78a5df3
bc17020
83c834e
e182f6a
4b6a46c
1ae8b6b
326a04d
ad2865e
642eecc
864b92d
a75cc75
827631f
f37ea9b
48917e6
fbf7a32
b3c4f12
b968500
a8173a2
b19f8cc
c1c95d5
1ec2450
da1a009
33bbe97
acbff42
e283b44
67e774e
7df3871
d6b8a20
f3835e3
ad9c768
dec595c
7dcb3cc
82d9498
61a5430
310aaef
1bc6497
e93f706
03624c3
c898a9b
5b3230e
9ee869e
321cae3
8843fcd
c5b5bf0
2a7495a
fdd736b
db305a3
52ad099
cd62be1
60d4055
20fd332
b3993e7
c56b04e
d53d328
e5cb868
8a05792
c588387
b8a485d
3d842f3
750ff4e
111580d
e26e5cb
7f442f6
2908081
56e3d9c
1a1ca10
bd984fe
a88bff0
6ed5fb7
ed5891d
04c0042
00f39ed
a6a5a2b
6be83bf
40a7ed5
462e383
e37e06b
974a53a
418bb5a
bad39ac
b4ec2ce
2ff2be1
c8f734b
167980f
ef9f1ad
b116f8e
ed04b38
7bb4a37
6b0855f
33a62e0
3980425
b4fa9ba
ae72605
c363aeb
51b0128
1873399
68717e7
97ce6c2
557c343
91f08b6
883f47d
5ea9cd7
4440b62
431079e
b0116ba
fa11a02
557c4f1
aec8890
fda1cb0
19dea99
b7c8668
3f31af7
487d42f
c8744bf
dfd0f2f
623c38f
e489c3b
ce544ce
26719b9
3d57f95
aac0ef9
8feb3dd
41759be
deb5f69
c4d3239
70c5498
d2b38c1
c992831
698c6cd
05073e6
044c782
f17beee
feac412
b4dc0cc
7c7d935
354a05e
c6a44ff
942796c
2062e92
0638a22
6dc76c8
34f5514
eafc1f8
502a56e
7481f79
42f0c5a
3f8b485
cbc90fa
d99a340
d248e01
2692d9f
7f56c2d
45549af
66ab2e0
b666139
daaa163
ddb04f7
b92b781
0ad6778
f083844
587aab5
ee237cb
12c58a4
b28393b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,7 @@ | |
import quests.views | ||
import retail.emails | ||
import retail.views | ||
import ptokens.views | ||
import revenue.views | ||
import search.views | ||
import tdi.views | ||
|
@@ -79,6 +80,19 @@ | |
# board | ||
re_path(r'^dashboard/?', dashboard.views.board, name='dashboard'), | ||
|
||
# personal_tokens | ||
re_path(r'^ptoken/quickstart/?', ptokens.views.quickstart, name='ptoken_quickstart'), | ||
re_path(r'^ptoken/faq/?', ptokens.views.faq, name='ptokens_faq'), | ||
path('ptokens/redemptions/<int:redemptionId>/', ptokens.views.ptoken_redemption, name='token_redemption'), | ||
path('ptokens/<int:tokenId>/purchase/', ptokens.views.ptoken_purchases, name='token_purchase'), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is tokenId camelCase when everything else is snake_case? Just wondering, maybe I'm missing something There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in 34f5514 |
||
path('ptokens/<int:tokenId>/redemptions/', ptokens.views.ptoken_redemptions, name='token_redemptions'), | ||
path('ptokens/redemptions/<str:redemption_state>/', ptokens.views.ptoken_redemptions, name='token_redemptions'), | ||
path('ptokens/me/', ptokens.views.ptoken, name='personal_token'), | ||
path('ptokens/<int:tokenId>/', ptokens.views.ptoken, name='token'), | ||
path('ptokens/<str:token_state>/', ptokens.views.tokens, name='tokens'), | ||
path('ptokens/', ptokens.views.tokens, name='tokens'), | ||
path('ptokens/update', ptokens.views.process_ptokens, name='process_ptokens'), | ||
|
||
# kudos | ||
re_path(r'^kudos/?$', kudos.views.about, name='kudos_main'), | ||
re_path(r'^kudos/about/?$', kudos.views.about, name='kudos_about'), | ||
|
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ could we undo all these changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above comment #7212 (comment) — I think we should keep these changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gotcha