On Wed, Jun 3, 2009 at 12:14 PM, BenW <benwil...@gmail.com> wrote: > > I just posted a JSON-RPC handler I've been working with on the wiki: > > http://code.djangoproject.com/wiki/Jsonrpc > > I'd be interested in feedback from anyone doing async javascript with > Django over RPC. > > Thanks! > > Ben > > > > a) This code can't possibly do anything other than raise a SyntaxError, you're missing the apporpriate def statements. b) There is 0 reason to define the class inside of the method in this instance. c) the public__ notation is horrific, use a decorator or something.
Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." --Voltaire "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---