Re: scarico() got an unexpected keyword argument 'string'

2016-04-22 Thread Steven Crockett
Your are capturing a URL parameter and naming it "string". First, I'm going to recommend you call your parameter something other than "string" (although that is a valid name). I will use "my_string" instead, so your url will look like: url(r'^scarico/(?P.+)/$', views.scarico, name='scarico') Th

Re: Authentication for mobile devices

2016-04-22 Thread Steven Crockett
If you are writing a native app, and using Django as a backend web service, there is no built-in library within django, as far as I know. I have used https://github.com/jpulgarin/django-tokenapi with some success. It is rather secure as long as you are using https in production. On Friday, April

Re: A Problem about UnicodeEncodeError

2016-04-22 Thread Steven Crockett
Hi. Could you post more of the exception traceback? Here is a workaround others have found for a problem similar to yours: https://code.djangoproject.com/ticket/23704 It seems to be something to do with your PATH setting within Windows possibly containing some non-standard character. On Friday