Re: api

2020-12-26 Thread Kris A. Stern
No worries 馃榾 Can happy to all of us when we are trying to contribute On Sat, 26 Dec 2020 at 22:22 Clifford Okorie wrote: > Hello Kris, No worries, I'm new here and don't know how things work... > > On Sat, Dec 26, 2020, 10:56 Kris A. Stern wrote: > >> No worries, Clifford. Kasper is really a ve

Re: api

2020-12-26 Thread Clifford Okorie
Hello Kris, No worries, I'm new here and don't know how things work... On Sat, Dec 26, 2020, 10:56 Kris A. Stern wrote: > No worries, Clifford. Kasper is really a very nice but tormented person. > Kind of like me. > > Cheers, > K.S. > > On Sat, 26 Dec 2020 at 17:54 Clifford Okorie wrote: > >> H

Re: api

2020-12-26 Thread Kris A. Stern
No worries, Clifford. Kasper is really a very nice but tormented person. Kind of like me. Cheers, K.S. On Sat, 26 Dec 2020 at 17:54 Clifford Okorie wrote: > Hello Kris, I don't get but he made a post on how to serialize django > function or was he not the one... > > On Sat, Dec 26, 2020, 07:33

Re: api

2020-12-26 Thread Clifford Okorie
Hello Kris, I don't get but he made a post on how to serialize django function or was he not the one... On Sat, Dec 26, 2020, 07:33 Kris A. Stern wrote: > Dear Clifford, > > Do you know who Kasper is? What are you trying to prove the maintainer of > this mailing list? Are you confused, or just r

Re: api

2020-12-25 Thread Kris A. Stern
Dear Clifford, Do you know who Kasper is? What are you trying to prove the maintainer of this mailing list? Are you confused, or just rude? Regards, K.S. On Sat, 26 Dec 2020 at 14:12, Clifford Okorie wrote: > Hello Kasper, you will create a serialiser file (serialisers.py) where > you would d

Re: api

2020-12-25 Thread Clifford Okorie
Hello Kasper, you will create a serialiser file (serialisers.py) where you would do your serialisations, it works like forms in normal django... If you need a hand feel free to let me know -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: api

2020-12-25 Thread Kasper Laudrup
On 25/12/2020 01.57, www.forum-gh.com wrote: hello family, merry christmas to you all, please i want to develop an app backend being django and front end being vue, please can you tell me what i need to do like where the functions will be since j will be using api and how should i serialize the

Re: api

2020-12-24 Thread Code Learning
Marry chrismas On Fri, 25 Dec 2020, 06:27 www.forum-gh.com, wrote: > hello family, merry christmas to you all, please i want to develop an app > backend being django and front end being vue, > please can you tell me what i need to do like where the functions will be > since j will be using api a

Re: api

2020-12-24 Thread Noel Simela
There are good tutorials on tutorials point and medium on that very same topic. On Fri, 25 Dec 2020, 02:58 www.forum-gh.com wrote: > hello family, merry christmas to you all, please i want to develop an app > backend being django and front end being vue, > please can you tell me what i need to d

Re: API to stop/resume/terminate a long running task

2020-10-13 Thread Chetan Ganji
Hi Aparna, I dont know the details of your implementation. As its a bulk upload, assuming there would be an upload form where user can put multiple files simultaneously. One by one, each file would be uploaded to the server. AFAIK, bulk operations are not supposed to be stopped and resumed in ord

Re: [API] Send csrf token and retrieve with javascript?

2020-10-11 Thread Dvs Khamele
Hi do you hire contract based python/django freelancer? We can help you in this and related techincal tasks at fair prices. Reply or send email to divy...@pythonmate.com Best Regards, Divyesh Khamele, Pythonmate On Thu, 1 Oct 2020, 5:10 am Alexandro Gon莽alves Dos Santos, < alexandrogon...@gmail.

Re: API Information for location tracking.

2020-03-21 Thread B.Ramburn
If it鈥檚 live tracking I鈥檇 recommend using web sockets On Sat, 21 Mar 2020 at 15:27, Vijasm gupbhan wrote: > hello sir, when fresh django project run then show error like shreenshot i > send > > On Sat, Mar 21, 2020 at 9:02 PM Luka Nik wrote: > >> Only native apps can send location in background

Re: API Information for location tracking.

2020-03-21 Thread Motaz Hejaze
did you python manage.py makemigrations ? then python manage.py migrate On Sat, Mar 21, 2020 at 5:26 PM Vijasm gupbhan wrote: > hello sir, when fresh django project run then show error like shreenshot i > send > > On Sat, Mar 21, 2020 at 9:02 PM Luka Nik wrote: > >> Only native apps can send lo

Re: API Information for location tracking.

2020-03-21 Thread Vijasm gupbhan
hello sir, when fresh django project run then show error like shreenshot i send On Sat, Mar 21, 2020 at 9:02 PM Luka Nik wrote: > Only native apps can send location in background, otherwise google maps > are ok > > On Sat, 21 Mar 2020, 4:13 pm RAJANI GUPTA, wrote: > >> I think by using Googal m

Re: API Information for location tracking.

2020-03-21 Thread Luka Nik
Only native apps can send location in background, otherwise google maps are ok On Sat, 21 Mar 2020, 4:13 pm RAJANI GUPTA, wrote: > I think by using Googal map. > > Sent from my Huawei phone > > > Original message > From: Mehul Anshumali > Date: Sat, 21 Mar 2020, 7:53 pm > To:

Re: API Information for location tracking.

2020-03-21 Thread RAJANI GUPTA
I think by using Googal map.Sent from my Huawei phone Original message From: Mehul Anshumali Date: Sat, 21 Mar 2020, 7:53 pmTo: Django users Subject: API Information for location tracking.Hey Guys, Anyone knows how to do live tracking of vehicle or object in Django or any API availa

Re: API documentation

2020-03-11 Thread Jorge Gimeno
On Wed, Mar 11, 2020, 2:03 PM Sunday Iyanu Ajayi wrote: > I am actually ask for API documentation tool that I can use to document my > API endpoints after building them using django rest framework > *AJAYI Sunday * > (+234) 806 771 5394 > *sunnexaj...@gmail.com * > > > > On Wed, Mar 11, 2020 at 1

Re: API documentation

2020-03-11 Thread Sunday Iyanu Ajayi
I am actually ask for API documentation tool that I can use to document my API endpoints after building them using django rest framework *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Wed, Mar 11, 2020 at 11:05 AM Ayser shuhaib wrote: > Django Rest Framework is what you need.

Re: API documentation

2020-03-11 Thread Ayser shuhaib
Django Rest Framework is what you need. Check this series of tutorials. https://youtu.be/iIqMEflK-HM The Documentation: https://www.django-rest-framework.org On Wed, 11 Mar 2020 at 11:59, Sunday Iyanu Ajayi wrote: > Please can someone recommend an api documentation tool that works with > dj

Re: Api

2020-02-29 Thread Naveen Arora
Can you share the traceback of error you are facing ? Cheers, On Saturday, 29 February 2020 11:17:59 UTC+5:30, Tosin Ayoola wrote: > > halo having 2 issues now > (1st) getting an integrity err > (2nd) i have a api code that return's count but still i'm not getting wat > i expected > below is

Re: Api

2020-02-28 Thread Naveen Arora
Create an API which returns count, then use javascript to update the front end part. On Friday, 28 February 2020 12:50:39 UTC+5:30, Tosin Ayoola wrote: > > Good morning guyz, > I need help on this one, it on writing api that will Shows the product > count for each manufacturer as users add p

Re: Api

2020-02-28 Thread Motaz Hejaze
Anything real time will be done by sockets , which i think is not the solution you need.. On Fri, 28 Feb 2020, 9:19 am Tosin Ayoola, wrote: > Good morning guyz, > I need help on this one, it on writing api that will Shows the product > count for each manufacturer as users add products real tim

Re: API project example

2018-11-17 Thread Rupam Hazra
HI, Just follow the django REST API. Thanks, Rupam Hazra On Sun, Nov 18, 2018 at 5:23 AM Arturo Fernandez wrote: > Hi guys, I'm developing an idea, but the funny things is that I'm learning > Django at the same time. Do you guys know of any SIMPLE project that > requests data from an api and

Re: API project example

2018-11-17 Thread Joel
Follow the initial two django tutorials and you'll get the idea. On Sun, 18 Nov, 2018, 5:23 AM Arturo Fernandez Hi guys, I'm developing an idea, but the funny things is that I'm learning > Django at the same time. Do you guys know of any SIMPLE project that > requests data from an api and display

Re: API Django

2018-10-21 Thread Phako Perez
Thanks Vinod for your quick response, I did, in addition I used -U (capital) instead (-u), however I got error like Method GET not allowed. Method Not Allowed: /schedule/3/ [22/Oct/2018 06:13:50] "GET /schedule/3/ HTTP/1.1" 405 40 On Mon, Oct 22, 2018 at 1:02 AM 'Vinod Kumar' via Django users <

Re: API Django

2018-10-21 Thread 'Vinod Kumar' via Django users
Remove Isauthenticated from rest_framework in settings.py On Mon, Oct 22, 2018, 11:22 AM Phako Perez <13.phak...@gmail.com> wrote: > Hi all, > > i'm really new on Django, trying to create an RESTful API, and getting > this error: > > curl -i -U Elly:Elly -H "Content-Type: application/json" -X GET

Re: API for writing a new database backend

2018-07-20 Thread Derek
If you are looking for a spec for writing an API, you could do worse than: https://github.com/OAI/OpenAPI-Specification If you are looking for a Django tool for creating the API, then: http://www.django-rest-framework.org/ On Wednesday, 18 July 2018 23:32:09 UTC+2, Nuno wrote: > > Hi, > I'm sta

Re: API for writing a new database backend

2018-07-19 Thread C. Kirby
I haven't worked on DB backends, but I'm pretty sure you want to implement everything in db/backends/base https://github.com/django/django/tree/master/django/db/backends/base Also here is a page with some info and links to talks and concepts about writing a backend (slightly out of date, but sh

Re: API REST - Url's Serialized models don't work with the hostname of my production server - Django Rest Framework

2016-02-23 Thread Bernardo Garcia
Hi James. Thanks for your attention and the stackoverflow reference I try setup the headers in my nginx configuration file but I don't get success My /etc/nginx/sites-enabled/myproject file I had so: server { server_name yourdomainorip.com; access_log off; location / {

Re: API REST - Url's Serialized models don't work with the hostname of my production server - Django Rest Framework

2016-02-23 Thread James Schneider
On Tue, Feb 23, 2016 at 6:03 AM, Bernardo Garcia wrote: > Hi everyone Djangonauts > :) > > Currently I am exposing a Django application (for the momento is just > thier users schema) with Django Rest Framework and happen that each > serialized model, in the url attribute, I have is the localhost

Re: API REST - Url's Serialized models don't work with the hostname of my production server - Django Rest Framework

2016-02-23 Thread Bernardo Garcia
Felipe, give me a couple of minutes and I tell to you, but If you see my first post in this thread, the api links is related with the serializers.py file, in the urls.py files the router.register sentence and the views.py the ViewSet class In this post is detailed ... http://stackoverflow.c

Re: API REST - Url's Serialized models don't work with the hostname of my production server - Django Rest Framework

2016-02-23 Thread Avraham Serour
this seems to be the problem, honestly I don't have much experience with gunicorn, I've used uwsgi and never had such problems. I hope someone on this list with more experience with gunicorn can tell. I suggest you either look for some other django+gunicorn tutorials and see what they suggest or

Re: API REST - Url's Serialized models don't work with the hostname of my production server - Django Rest Framework

2016-02-23 Thread Fellipe Henrique
Sorry to reply your post, but.. how do you show all api link? there's any settings for these? I asking because, when I try on my api, show me 404 page... T.路.F.路.A.路. S+F *Fellipe Henrique P. Soares* e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge' *Fedora Ambas

Re: API REST - Url's Serialized models don't work with the hostname of my production server - Django Rest Framework

2016-02-23 Thread Bernardo Garcia
Avraham, so yes, efectively ... This is my gunicorn_config.py command = '/opt/uleague/bin/gunicorn' pythonpath = '/opt/uleague/pickapp' bind = '127.0.0.1:8000' workers = 3 I will should in the directive bind put the internal ip address of my machine? I have some doubts - The internal ip

Re: API REST - Url's Serialized models don't work with the hostname of my production server - Django Rest Framework

2016-02-23 Thread Avraham Serour
are you using a config file for gunicorn? in the example it tells to use: bind = '127.0.0.1:8001' are you binding to 127.0.0.1 ? On Tue, Feb 23, 2016 at 4:33 PM, Bernardo Garcia wrote: > Hi Mr. Avraham Serour thanks for the attention > > In my amazon ec2 production server I am running my Djang

Re: API REST - Url's Serialized models don't work with the hostname of my production server - Django Rest Framework

2016-02-23 Thread Bernardo Garcia
Hi Mr. Avraham Serour thanks for the attention In my amazon ec2 production server I am running my Django Application using nginx, and gunicorn accord to this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-django-with-postgres-nginx-and-gunicorn python ma

Re: API REST - Url's Serialized models don't work with the hostname of my production server - Django Rest Framework

2016-02-23 Thread Avraham Serour
are you running django using manage.py runserver? On Tue, Feb 23, 2016 at 4:03 PM, Bernardo Garcia wrote: > Hi everyone Djangonauts > :) > > Currently I am exposing a Django application (for the momento is just > thier users schema) with Django Rest Framework and happen that each > serialized m

Re: API Google Calendar

2015-09-09 Thread ThomasTheDjangoFan
Hi Marcelo, I am actually also planning to use it. I have found https://code.google.com/p/django-gcal/ and will have a look at: https://www.djangopackages.com/grids/g/calendar/. None of this I have checked out myself. Let's keep us up to date with the progress. Kind regards Thomas Am Donnerst

Re: API rest for https://docs.djangoproject.com/en/dev/intro/tutorial01/ help

2014-02-21 Thread Camilo Torres
On Thursday, February 20, 2014 6:23:27 PM UTC-4:30, Antonio Villavicencio wrote: > > I am trying just to do an API REST with the project of: > https://docs.djangoproject.com/en/dev/intro/tutorial01/ > > specifically with the model of Question > > class Question(models.Model): > question_text =

Re: API rest for https://docs.djangoproject.com/en/dev/intro/tutorial01/ help

2014-02-20 Thread Jonathan Baker
It appears that you're using the Django Rest Framework, and if that's the case then you need to reference the section on serializer relations: http://www.django-rest-framework.org/api-guide/relations On Thu, Feb 20, 2014 at 3:53 PM, Antonio Villavicencio wrote: > I am trying just to do an API RE

Re: API with django

2010-05-24 Thread Alexandre Gonz谩lez
Thanks for your 2c :D It works for me now with curl, I've read about serialization and test again with a ajax request thanks! On Mon, May 24, 2010 at 17:45, Ovnicraft wrote: > > > El 23 de mayo de 2010 22:05, Alexandre Gonz谩lez escribi贸: > > Hi! >> >> I must develop a django app that receive

Re: API with django

2010-05-24 Thread Ovnicraft
El 23 de mayo de 2010 22:05, Alexandre Gonz谩lez escribi贸: > Hi! > > I must develop a django app that receives XML and returns XML. > > What's the best way to do this? Create a view that receive the XML and > parse it to return a template with the XML resultant? > > I'm newbie in django and need y

Re: API with django

2010-05-24 Thread Alexandre Gonz谩lez
I've made some progress... but I always get an error 401 at the server. This is my code, please help me!!! I've lost some hours trying to do it work: urls.py --- *from django.conf.urls.defaults import ** *from piston.resource import Resource* *from piston.authentication import HttpBasicAuthen

Re: API with django

2010-05-24 Thread Alexandre Gonz谩lez
I'm reading the piston sample, and it appears to be my necessary app, but the documentation is very few I think :_( As I say I'm newbie and I can't make the simplest documentation_view works, when I port to my app, I get a TemplateDoesNotExist documentation.html WTF!? if no file called "documentat

Re: API with django

2010-05-24 Thread Simone Dalla
2010/5/24 Alexandre Gonz谩lez > Hi! > > I must develop a django app that receives XML and returns XML. > > What's the best way to do this? Create a view that receive the XML and > parse it to return a template with the XML resultant? > > I'm newbie in django and need your tips :) > http://docs.d

Re: API with django

2010-05-24 Thread Bruce Wang
2010/5/24 Alexandre Gonz谩lez > Hi! > > I must develop a django app that receives XML and returns XML. > > What's the best way to do this? Create a view that receive the XML and > parse it to return a template with the XML resultant? > > I'm newbie in django and need your tips :) > > > You may wan

Re: API with django

2010-05-24 Thread Dennis Kaarsemaker
On ma, 2010-05-24 at 05:05 +0200, Alexandre Gonz谩lez wrote: > I must develop a django app that receives XML and returns XML. > > What's the best way to do this? Create a view that receive the XML and > parse it to return a template with the XML resultant? That would be a good way of doing it. You

Re: API mismatch bug with CursorDebugWrapper?

2009-01-24 Thread Nathaniel Whiteinge
On Jan 23, 7:14 pm, Karen Tracey wrote: > Take a look at the implementation of CursorDebugWrapper > __getattr__ in django/db/backends/util.py -- CursorDebugWrapper defers to > the wrapped cursor for anything it itself doesn't implement. Thanks, Karen. You're exactly right. I was coming at it fro

Re: API mismatch bug with CursorDebugWrapper?

2009-01-23 Thread Karen Tracey
On Fri, Jan 23, 2009 at 5:39 PM, Nathaniel Whiteinge wrote: > > Requesting a sanity check before I file a ticket. > > The API for directly accessing a database cursor() changes depending > on if DEBUG is True or False. (Excepting execute() and executemany().) > > This shell session spells it out m

Re: API mismatch bug with CursorDebugWrapper?

2009-01-23 Thread Malcolm Tredinnick
On Fri, 2009-01-23 at 14:39 -0800, Nathaniel Whiteinge wrote: > Requesting a sanity check before I file a ticket. > > The API for directly accessing a database cursor() changes depending > on if DEBUG is True or False. (Excepting execute() and executemany().) > > This shell session spells it out

Re: Api and user auth

2007-03-11 Thread Grupo Django
Thank you for your help! I think I'll create a form to intorduce the news. Thank you. On 10 mar, 08:26, "risomt" <[EMAIL PROTECTED]> wrote: > Actually, what I said is a bit wrong. > > To fill the author field correctly you should use a foreign key that > points to the User model (again, assuming

Re: Api and user auth

2007-03-09 Thread risomt
Actually, what I said is a bit wrong. To fill the author field correctly you should use a foreign key that points to the User model (again, assuming you're using the builtin django.contrib.auth User). On Mar 10, 2:21 am, "risomt" <[EMAIL PROTECTED]> wrote: > While I thoroughly agree with the abo

Re: Api and user auth

2007-03-09 Thread risomt
While I thoroughly agree with the above two, I'll go one step further and say you should probably never put any code that sets admins (superusers, or even straight access to django admin console) into code whatsoever. To help you out with a direct answer: django has no difference between admin a

Re: Api and user auth

2007-03-09 Thread James Bennett
On 3/7/07, Grupo Django <[EMAIL PROTECTED]> wrote: > - I have made a news app. One of the fields is author, i want to set > its default value to the username logged in the admin zone. How could > I do it? What do I have to import to use request.username? so I would > do: default= request.username,

Re: Api and user auth

2007-03-09 Thread Atilla
On 07/03/07, Grupo Django <[EMAIL PROTECTED]> wrote: > > Hello, I have two questions: > > -Where can I browse the django API? > > - I have made a news app. One of the fields is author, i want to set > its default value to the username logged in the admin zone. How could > I do it? What do I have t