Tuesday, November 22, 2016

Re: Upload Images from Remote Server

If you start django by running "python manage.py runserver", you
should have some log message where you have typed the command.
When your program raise an error, like no such file, django should
print a stacktrace in the log. It's a list of all the function that
django called before getting the error. That help a lot when dealing
with error.

2016-11-22 12:15 GMT+01:00 pradam programming <pradam.programming@gmail.com>:
> Hi Ludovic,
> What is Full stacktrace ..? i tried very solution but i can't able to store
> image without a form in rest framework..?
>
> On Tue, Nov 22, 2016 at 2:56 PM, ludovic coues <couesl@gmail.com> wrote:
>>
>> The actual full stacktrace and at least the relevant function in your
>> code would be nice.
>>
>> 2016-11-21 14:09 GMT+01:00 pradam programming
>> <pradam.programming@gmail.com>:
>> > hi Guys,
>> > 1.I have Created an API which store images into database just giving
>> > image
>> > path but issue is when i remotely upload image using API i will get the
>> > following error show no such file or Directory eg:
>> > [
>> >
>> > {'name':'foo','date':'2016-11-21','organization_name':'buzz','description':'Abhilash','image':'/home/mahiti/Pictures/torrentz.png'}]
>> >
>> > error:
>> >
>> > no file or directory
>> >
>> > 2.How can i remotely get images and save it my local system?
>> > 3.If the site goes live then same scenario will happen as of 1 ?
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Django users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to django-users+unsubscribe@googlegroups.com.
>> > To post to this group, send email to django-users@googlegroups.com.
>> > Visit this group at https://groups.google.com/group/django-users.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/django-users/CAGGVXBOiiVFr7j-fCXm73NzADgjPFieA4A8ggvATK_SNMwcNMQ%40mail.gmail.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>>
>> Cordialement, Coues Ludovic
>> +336 148 743 42
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscribe@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAEuG%2BTb-3GXvN%3D%3DzK%3DGx0kVQ0%3Dz9YZrN4JQP9_nJv0HebdwUwg%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAGGVXBPbvniWgCeuMP8Jd57e_gyWK%3DQ_hbJSNrp_axEZaucfpw%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Coues Ludovic
+336 148 743 42

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEuG%2BTbXpqF-va7sk7Lm94f5Dzyy64yqHTr%3DcMY3pTNqbdDyMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment