Re: Get authorization and list users in auth via http request

2019-09-12 Thread Ronit Mishra
Hi, Its possible. And from what I am able to understand you're looking to create restful services for authentication and registration. Your solution: Django Rest Framework Its a very detailed procedure so I can't point out all the points here, but you can follow any decent tutorial and get it

Centroid of PolygonField

2019-09-12 Thread Pasquale
I have the following model: from django.contrib.gis.db import models as g class Neighborhoods(Model):     area = g.PolygonField()         def point(self):     #TODO:something better than this horrible hack of 2 db round trip     return

DRF

2019-09-12 Thread Soumen Khatua
Hi Folks, I didn't understand this code, Cab you guys please explain me about this code: *views.py:* *-* *class UserLoginAPIView(GenericAPIView): authentication_classes = () permission_classes = () serializer_class = UserLoginSerializer ()def post(self, request, *args,

Re: How to find out when a fix will be released

2019-09-12 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wed, Aug 28, 2019 at 01:59:01PM +0800, wd wrote: > > > > As a concrete example, consider a moment in time halfway between the > > release of Django 5.1 and 5.2. At this point in time: > > > >- Features will be added to development master, to

Postman-django Api help

2019-09-12 Thread Tosin Ayoola
Halo Good day sorry I wan work on a airline tickets reservations project using postman Api, but I've never used that before and can't seem to find any resourceful material online, can anyone be kind enough to help me out. Thanks -- You received this message because you are subscribed to the

Maps API

2019-09-12 Thread Aniket Jain
Hello guys, Hey anyone is having idea that which API we can use for the grps tracking system for the vechiles like Uber and ola. -- 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,

Re: Get authorization and list users in auth via http request

2019-09-12 Thread Ezequias Rocha
Thank you Ronit. Now I implemented the create_user via web request. Django Rocks! Ezequias. On Thursday, September 12, 2019 at 4:27:03 AM UTC-3, Ronit Mishra wrote: > > Hi, > > Its possible. And from what I am able to understand you're looking to > create restful services for authentication

Re: Query help

2019-09-12 Thread Matt
Tosin, Please refer below. This should help. https://docs.djangoproject.com/en/2.2/topics/db/queries/ best, matt On Thu, Sep 12, 2019 at 10:01 AM Tosin Ayoola wrote: > Halo guyz I actually need a little help, I'm working on a airline tickets > reservations project using postman Api that

Re: Maps API

2019-09-12 Thread Mehul Anshumali
Mail me inperson On Thu, Sep 12, 2019, 8:47 PM Mehul Anshumali wrote: > Yss bro  > > On Thu, Sep 12, 2019, 8:03 PM Aniket Jain wrote: > >> Hello guys, >> Hey anyone is having idea that which API we can use for the grps tracking >> system for the vechiles like Uber and ola. >> >> -- >> You

Re: Maps API

2019-09-12 Thread Mehul Anshumali
Yss bro  On Thu, Sep 12, 2019, 8:03 PM Aniket Jain wrote: > Hello guys, > Hey anyone is having idea that which API we can use for the grps tracking > system for the vechiles like Uber and ola. > > -- > You received this message because you are subscribed to the Google Groups > "Django users"

Django "GET / HTTP/1.1" 200 16348" Error

2019-09-12 Thread mohammad reyajuddin
After executing runserver command in django terminal , below msg is displayed and No chnages in webpages after coding. Please suggest. Django version 2.1.5, using settings 'myutility.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK. [12/Sep/2019

Re: Maps API

2019-09-12 Thread sachinbg sachin
Use Google GPRS On Thu, Sep 12, 2019, 8:03 PM Aniket Jain wrote: > Hello guys, > Hey anyone is having idea that which API we can use for the grps tracking > system for the vechiles like Uber and ola. > > -- > You received this message because you are subscribed to the Google Groups > "Django

Query help

2019-09-12 Thread Tosin Ayoola
Halo guyz I actually need a little help, I'm working on a airline tickets reservations project using postman Api that requires making query for available flight going to a particular destination, from a particular city, arrival date & departure date & I got no idea on how to write the query,

Re: Maps API

2019-09-12 Thread Jani Tiainen
Hi. I had workshop about geotracking and Django at Djangocon eu 2019. You can find my material at http://dceu2019.tiainen.cc to 12. syysk. 2019 klo 17.33 Aniket Jain kirjoitti: > Hello guys, > Hey anyone is having idea that which API we can use for the grps tracking > system for the vechiles

Django "GET / HTTP/1.1" 200 16348" Error

2019-09-12 Thread khadim husen
"GET / HTTP/1.1" 200 16348" This is not a error This is response code. 200 means response success resource created. -- 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

Django "GET / HTTP/1.1" 200 16348" Error

2019-09-12 Thread khadim husen
Type in your web browser http://127.0.0.1:8000/ -- 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+unsubscr...@googlegroups.com. To view this

Django "GET / HTTP/1.1" 200 16348" Error

2019-09-12 Thread khadim husen
Run this command in terminal python manage.py migrate Then python manage.py runserver -- 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

ORM

2019-09-12 Thread Yann Mbella
Got little problem is it possible to have a plugin which mapps or reproduce my class diagrams drawn in an IDE of UML in my models app -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: How to inspect MSSQL Database in Django 2.1

2019-09-12 Thread Adam Parsons
Hi Wikils, It might help if you can post some additional context to the situation, as well as some output of the errors you're experiencing. Without seeing the error message, we cannot possibly help you determine the issue. Could you please provide the following 1. Your settings.py (with

Re: Django "GET / HTTP/1.1" 200 16348" Error

2019-09-12 Thread johnsi rani
while i run its shows migration error On Fri, Sep 13, 2019 at 1:54 AM khadim husen wrote: > Run this command in terminal > > python manage.py migrate > > Then > > python manage.py runserver > > > > -- > You received this message because you are subscribed to the Google Groups > "Django users"

Re: ORM

2019-09-12 Thread Jani Tiainen
Hi. There exists django-extensions package that has management command to make UML diagram for your models. pe 13. syysk. 2019 klo 5.22 Yann Mbella kirjoitti: > Got little problem is it possible to have a plugin which mapps or > reproduce my class diagrams drawn in an IDE of UML in my models