Re: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device

2020-01-23 Thread nsamba taufeeq
Hard Disk is full If it's Linux confirm using the commands du -sh Or df -h If you are using the cloud, stop the instance and expand the volume of the disk. Or you can always delete irrelevant files. On Thu, 23 Jan 2020, 20:47 sathri mamatha, wrote: > When i want to install libraries by using

Re: Upload image on json

2020-01-13 Thread nsamba taufeeq
See here https://stackoverflow.com/questions/20473572/django-rest-framework-file-upload It's better practice to separate these. Upload json meta data and image separately. Images are sent via the FileApi on the browser or under formData as files. If you are using curl for tests look into -F

Re: ERROR IN Visual Studio Coe

2020-01-13 Thread nsamba taufeeq
Here's a link to an article that could help you do that https://geek-university.com/python/add-python-to-the-windows-path/ On Sun, 12 Jan 2020, 01:31 sathri mamatha, wrote: > Where and how?? > > > On Sun, 12 Jan 2020, 1:08 am nsamba taufeeq, > wrote: > >> Set python

Re: ERROR IN Visual Studio Coe

2020-01-11 Thread nsamba taufeeq
Set python as environment variable On Sat, 11 Jan 2020, 11:11 sathri mamatha, wrote: > How Can I solve this error in Visual Studio Code. > > > > Microsoft Windows [Version 6.3.9600] > (c) 2013 Microsoft Corporation. All rights

Re: I am moving my existing project backend from php to Django rest framework to create rest api's.And also i need to retain my existing data. can any one help me?

2018-12-08 Thread nsamba taufeeq
They is a tool called mysqldump use it to dump the database into an sql file which you can then use on the remote host. There isnt need for changing db if all ypu are doing is changing from php to python. Python is equiped to connect with mysql using a module called python-mysql. On Sat, Dec 8,

Re: Attribute Error, attached is the views.py file

2018-09-19 Thread nsamba taufeeq
Yeah, i had seen this. However theirs is on pip3.My pip3 works well. The error appears only when the server is loaded the first time, If the end point is hit the second time, i get no error. On Tue, Sep 18, 2018 at 4:13 PM Jason wrote: > Googling the query *'_NamespacePath' object has no

Attribute Error, attached is the views.py file

2018-09-18 Thread nsamba taufeeq
I get this attribute error but on refresh of the link it works. The error. AttributeError at /tasks/ '_NamespacePath' object has no attribute 'sort' Request Method: GET Request URL: http://compute.glassociates.engineering/tasks/?projid=1 Django Version: 2.1.1 Exception Type: AttributeError