#django

/

      • CheckDavid has quit
      • interweb joined the channel
      • interweb
        What is the best way to learn django ?
      • Hello
      • NomadJim_ joined the channel
      • mattmcc
        interweb: The tutorial in the documentation is probably a good start.
      • Mechanimal joined the channel
      • NomadJim has quit
      • TheWhiteOx joined the channel
      • phaer has quit
      • Sanukode has quit
      • ganitsu has quit
      • abarax joined the channel
      • Siecje
        I was looking at node and they don't seem to have a tutorial in the docs.
      • abarax has quit
      • mattmcc
        Nobody's perfect.
      • abarax joined the channel
      • interweb
        Is there any digital version of two scoops of django 1.6 out there ?
      • johnkevinmbasco has quit
      • Rolandf joined the channel
      • FunkyBob
        no
      • and last I heard, there never will be
      • newzen has left the channel
      • mattmcc
      • xunil_ has left the channel
      • jrm2k6 joined the channel
      • interweb
        FunkyBob, Is it good enough to buy the paper book ?
      • dlogs has quit
      • dlogs joined the channel
      • estebistec joined the channel
      • estebistec has quit
      • FunkyBob, Should I buy it ?
      • FunkyBob
        I have a copy, but I've not read it yet
      • have you done the tutorial in the docs yet?
      • nihilista has quit
      • nihilista joined the channel
      • mribeirodantas has quit
      • deanrock0 joined the channel
      • kaakku
        interweb, It is a good reference book if you have experience working with Django. However, do not expect it to handhold you from step 1 at all.
      • interweb, I have the 1.5 edition.
      • rams3377 has quit
      • interweb, I keep referring to it almost on a daily basis to clean up and improve my code base.
      • interweb, As FunkyBob suggested, the tutorial in the docs is a really good resource. I started with Django only 4 months back. :)
      • nihilist_ joined the channel
      • interweb
        kaakku, as a matter of fact I'm learning python and then I'm going to use django
      • loic84 joined the channel
      • kaakku
        interweb, Ah okay. Don't you have local community gatherings around your area?
      • MrBaboon has quit
      • interweb
        kaakku, No , I live in Iran
      • kaakku
        interweb, Alright. Maybe you can start one with a few others. :)
      • interweb, Here is one that we had 2 months back. You can find one tutorial resource within: http://bangalore.python.org.in/blog/2014/01/18/...
      • nihilista has quit
      • interweb, It has a gist which explains a Django app development step by step.
      • siqi joined the channel
      • interweb
        kaakku, looks awesome
      • kaakku
        interweb, :)
      • siqi has quit
      • interweb, Hey, didn't his happen there? http://www.pycon.ir/
      • s/his/this
      • interweb
        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.
      • portablejim
        I'm getting a NoReverseMatch error and I seem to be unable to find the problem. https://gist.github.com/portablejim/9868632
      • siqi joined the channel
      • mstrcnvs
        TheWhiteOx: not scripts itself, they're more python entry points
      • TheWhiteOx
        ahhh icic
      • maroloccio has quit
      • Any links/books/resources I can lookup to building an API in Python? :D
      • xmj
        www.google.com has these
      • mstrcnvs
        portablejim: basically you have 1 url with a named argument, and you're trying with a positional argument
      • xmj
        FunkyBob: we've had lots of Bikeshed discussions about how to correctly build an API at $work