kaakku, Yes but it was last year and I were not there
kaakku
interweb, Ah okay.
z0ran has quit
z0ran joined the channel
Siecje has left the channel
maroloccio joined the channel
xmj
FunkyBob: "I have the book but not read it" < why i stopped buying hardcopy books
NomadJim joined the channel
djapo
if i wanted to disable user registration via a setting, what kind of error should i raise in the view?
xmj
that depends on what you want users to see.
FunkyBob
xmj: well, I didn't buy it... so... :)
xmj
FunkyBob: sell it on ebay, free up space and buy books that actually interest you ?
FunkyBob
the book interests me
NomadJim_ has quit
I just haven't had time to read it
djapo
xmj: i was thinking of a permission denied error but is there a way to pass a context to those type of thing, or should just create an registration disabled template/view to redirect to?
xmj
djapo: raise PermissionDenied will typically give you a (normal) 403 template
MrBaboon joined the channel
djapo: why not create another error with the ability to display some static template like "Due to the high amount of people in the queue we do not currently allow direct registration" or other nice text ?
nihilist_ has quit
nihilista joined the channel
djapo
xmj: nice, ill look into how to do that, is there a base error class that i could inherit from?
FunkyBob
why are you trying to make this difficult and complicateD?
xmj doesn't know
some people seem addicted to it
djapo
K.I.S.S.
xmj
FunkyBob: it's sunday, what other day to do the Overengineering on
TheWhiteOx
Without prior programming experience, if I went through the www.learnpythonthehardway.org tutorials, can I directtly start learning Django or should I solidfy my Python skills a little more?
Wanting to create a text webgame with Django.. is that viable?? Sort of like a MUD
but on a website :D
also can Django support something like websockets?
naro joined the channel
xmj
LPTHW is certainly good and it won't help you with django, so you might want to poke fun at the django tutorials
maybe contribute bugfixes to some other django projects to learn it
TheWhiteOx
icic thanks xmj
jrm2k6 has quit
siqi joined the channel
arietis joined the channel
siqi_ joined the channel
FunkyBob
TheWhiteOx: yes, you could learn, with guidance
TheWhiteOx: why would you want websockets?
TheWhiteOx: yes, a MUD has been done in django before
TheWhiteOx: there are several projects to support websockets on djang... but I think you'd find Sever Sent DOM Events probably a better fit
siqi has quit
dlogs has quit
b10n1k joined the channel
TheWhiteOx
FunkyBob: Thanks ill do some research,
siqi_ has quit
futuredale has quit
semente has quit
xmj
yup
point being that i'd first try to wrap my head around how django's internal works, spend some time on grokking it, and only then start programming the djangoMUD
YMMV tho
TheWhiteOx
xmj: Thanks!
Doing research on web technologies/languages/frameworks at the moment to see if it can implement my ideas
mainly being, a webapp that's aimed towards mobile, ipad/tablets
futuredale joined the channel
and the GUI would be like an old book, room and room description on the left
whenever character moves, the room description and room title will change and have a pageflip effect
moneydouble has quit
Is that possible with Django?
and some sort of scrolling event echo'ing on the right page of the 'book' GUI
djapo
TheWhiteOx: sounds like ajax
TheWhiteOx
Ahhhh
mstrcnvs joined the channel
With an Ajax setup hwo would I program the gamelogic?, serverside javascript?
arietis has quit
phaer joined the channel
xmj
you create an API with django and let the clients do the rest with JS :p
the creating-the-API part has the nice side-effect that you can have clients other than JS should you need that
TheWhiteOx
ahhhhhh icic
so django itself would handle the gamelogic?
dustinfarris has quit
arietis joined the channel
mattmcc
Well, Python.
TheWhiteOx
ahhh
so AJAX can make calls to python scripts on the server?
Sorry for all the noob questions, doing thorough research before I put my nose to the grindstone =)
booze2go has quit
xmj
TheWhiteOx: there's not just one way to do this
portablejim joined the channel
but, having an API that handles transitions between data from clients to backend is the canonical way these days.