looking for comments regarding django-stripe-payments vs django-paypal vs braintree by paypal
or other
xBBTx
mekhami: in you nginx config you can make the django app listen on a certain path like /api, if you can do the same with express it should be feasible
Itkovian_ joined the channel
Itkovian has quit
only issue I see is that express will eat the /api url before nginx does
yoongkang joined the channel
no idea how express works and what it is exactly
you could maybe proxy /api requests in express to nginx or maybe uwsgi/gunicorn directly
Haris has quit
Itkovian_ has quit
mekhami
xBBTx: that's what i was afraid of
Haris joined the channel
maybe i should just host the api on a subdomain
Itkovian joined the channel
Itkovian has quit
xBBTx
I'd go that route yeah
DLSteve joined the channel
yoongkang has quit
veduardo joined the channel
Quitta joined the channel
pulgalipe joined the channel
colinbits joined the channel
bmispelon joined the channel
Silvering has quit
geetar joined the channel
Debnet joined the channel
adrian_lc has quit
maryokhin has quit
Quitta has quit
mcanes joined the channel
d0p
apollo13: ping
d0p has quit
d0p joined the channel
apollo13: ping
feathered_person joined the channel
pulgalipe joined the channel
bsilverberg joined the channel
Leeds has quit
sebcorbin is now known as sebcorbin`away
citizen-stig joined the channel
mcanes has quit
Haudegen has quit
mekhami
d0p: don't do that
ohrstrom_ joined the channel
ohrstrom_ has quit
d0p
got disconnected srry
ohrstrom has quit
citizen-stig has quit
benred42 joined the channel
xBBTx has quit
jay-m has quit
encod3 has quit
cereal joined the channel
capella-da-star joined the channel
jay-m joined the channel
surfnturf_
what is a good way to display help pages for new visitors? Afterwards, they are routed to the regular view
apollo13
d0p: mhm?
wrong question…
get your client in control, then this is your problem unless you wanna pay :D
d0p
ahhah
geetar has quit
apollo13
yes I do mind
yashu-seth has quit
LondonAppDev joined the channel
kingplusplus joined the channel
please fix your client to send proper messages
geetar joined the channel
mitaka has quit
fwiw, actually putting a realname into whois and trying to write normal sentences would certainly help too if you want professional help
mekhami
do i have someone ignored or is apollo13 talking to himself
apollo13
I have no idea, he is sending weird messages, they are apparently not queries, but…
jacinda joined the channel
ah seems likes notices
how annoying
latro joined the channel
jacinda has quit
hyperair joined the channel
kalem joined the channel
spgingras has quit
brownan has quit
berto- has quit
disturbedmime has quit
duoi has quit
fgallina has quit
Fingel has quit
jMyles has quit
yask has quit
jaddison has quit
SecondForm_Glenn has quit
jaddison joined the channel
cjwelborn has quit
brat197 joined the channel
srijay has quit
ldlework has quit
Sewar joined the channel
Asandari has quit
t89 has quit
SoggyDingus joined the channel
pytony joined the channel
d0p has quit
SoggyDingus has quit
tanath has quit
veduardo has quit
koobs joined the channel
SecondForm_Glenn joined the channel
arthurdent joined the channel
darkpixel1 has quit
johtso joined the channel
Haudegen joined the channel
litewait joined the channel
brownan joined the channel
cewing joined the channel
veduardo joined the channel
ocZio joined the channel
yashu-seth joined the channel
slixpk joined the channel
ulhas has quit
ocZio
hi, I have the following: o = {"key":"<script>"}; json.dumps(o); << how can I make sure I prevent XSS? is the only way to encode all the values or there is a better way of doing it ?
jaddison: I am not sure escaping the whole output will keep the JSON object intact.
Laba joined the channel
litewait
Is it a true statement, that in general Django will not have an issue supporting multiple authentication methods, e.g. rest-framework-jwt, oauth-toolkit, etc ?
arthurdent has left the channel
kadfak has quit
jaddison
ocZio, why not escape the internal value, not the whole json object? the outside looks fairly benign to me.
iron_houzi has quit
sharktopus has quit
TDJACR joined the channel
litewait
Also, anyone heard an ETA for 1.9?
ocZio
jaddison: that's my question, is this the way to go? or there is a better way :)
litewait, yes, Django supports multiple authentication methods. That's how sites have email+password as well as social logins. Two different auth backends.
(or more)
deb joined the channel
apollo13
ocZio: use the filter from django-argonauts
litewait
worried the auth middleware will step on each others toes, but ok. thanks.
jaddison
It is possible for auth backends to 'clobber' one another though.