Re: 'WSGIRequest' object has no attribute 'Files'

2023-05-22 Thread Sanket Chudasama
p_form = ProfileUpdateForm(data= request.POST, files= request.Files, instance = request.user) On Tuesday, 16 April 2019 at 12:35:15 UTC+5:30 Soumen Khatua wrote: > Hi Folks, > I'm getting this error 'WSGIRequest' object has no attribute 'Files' and > i didn't get proper solution in google also

Access denied for user

2012-12-27 Thread Sanket Garg
i m trying to follow the following guide https://docs.djangoproject.com/en/1.3/intro/tutorial01/ but i m getting error ERROR 1045 (28000): Access denied for user 'Sanket'@'localhost' (using password: YES) do i need to login in as superuser or something? i m stuck :/ -

Re: json objects and PUT/GET Requests/Response

2012-07-24 Thread sanket
Hi Svs, please have a look at django-tastypie (https://github.com/toastdriven/django-tastypie). it's great for the REST purpose. Thanks, sanket On Tuesday, July 24, 2012 12:09:14 PM UTC-7, svs wrote: > > Hello, > > I am new to both DJANFGO & REST. > Here is my pro

Re: How REST Access ?

2011-10-03 Thread sanket
please checkout Tastypie .. I was able to RESTify my django app in couple of hours On Oct 3, 8:37 am, Donald Stufft wrote: >  TastyPie is also good and one that I prefer over Piston. > > > > > > > > On Monday, October 3, 2011 at 11:20 AM, Javier Guerra Giraldez wrote: > > On Fri, Sep 30, 2011

Re: question regarding doing authentication for a mobile client via REST call

2011-08-30 Thread sanket
reposting the thread link http://groups.google.com/group/django-users/browse_thread/thread/4417516a26c2a1cc/496b54b93e4420a8?lnk=gst&q=authentication#496b54b93e4420a8 On Aug 30, 11:20 am, sanket wrote: > Hello All, > hope you all are doing great. > > I have a question

question regarding doing authentication for a mobile client via REST call

2011-08-30 Thread sanket
I am not quite getting the idea how should I go about implementing this service which will allow mobile clients to login. I would appreciate your help. Thanks, sanket -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Re: need help with calling following complex query

2011-07-11 Thread sanket
Thanks @Venkatraman, I really appreciate your help. ability to create a function is pretty cool. Thanks again, sanket On Jul 11, 1:06 pm, Jonas Geiregat wrote: > > results.extra(select={ > >                             'distance': > > '(acos(sin(latitude)*si

Re: need help with calling following complex query

2011-07-10 Thread sanket
, sanket On Jul 10, 7:33 pm, Venkatraman S wrote: > On Mon, Jul 11, 2011 at 7:10 AM, Cal Leeming [Simplicity Media Ltd] < > > cal.leem...@simplicitymedialtd.co.uk> wrote: > > +1 on raw SQL in this instance. > > Not exactly, using ORM is pretty easy too. You w

need help with calling following complex query

2011-07-10 Thread sanket
2 AND dest.latitude BETWEEN lat1 and lat2 " the model which talks to database is called Place in my case. Thank you all for the help, sanket -- 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@

Re: can we have a database settings per app in a single django project ?

2011-06-25 Thread sanket
Thanks Bruno so much. I will take a look at the links you posted. Thanks again, sanket On Jun 25, 8:50 am, bruno desthuilliers wrote: > On Jun 25, 9:47 am, sanket wrote: > > > Hi All, > > > I am quite new to Django and I am not able to figure out if I can have >

can we have a database settings per app in a single django project ?

2011-06-25 Thread sanket
, it sounds weird but can you please let me know if that's even possible ? if not, I would appreciate the ideas to achieve this requirement. Thanks, sanket -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: models.py general help

2009-05-04 Thread sanket agarwal
self.filesize=os.path.getsize(self.filepath)/(1024.0*1024.0) # Size in MB's super(Files, self).save(force_insert,force_update) So this closes the thread as far as my query is concerned :) On Sun, May 3, 2009 at 8:07 PM, Michael wrote: > On Sun, May 3, 2009 at 9:15 AM, S

models.py general help

2009-05-03 Thread Sanket Agarwal
x27;Text/Word','Text/Word'), ('source','Source Archives'), ('Binary','All other files go here!'), ) class Files(models.Model): """Uploads area, all files to be ready for user use are p