Re: Django Rest framework

2023-11-18 Thread utibe solomon
It has to do with cors headers you don't have it set so your domain wouldn't share resources with another domain check out django-cors-headers On Mon, Nov 13, 2023, 1:55 PM Denny (Python developer) < denniskinan...@gmail.com> wrote: > i hosted my django application to vercel and am using free

Re: Django Rest framework

2023-11-14 Thread OSP PRO
using django-cors-headers On Tue, Nov 14, 2023 at 11:52 AM Akorede Habeebullah wrote: > Try using django-cors-headers. It should work. > You can check it's documentation for how to use it. > > On Tue, Nov 14, 2023, 12:13 AM Lutaaya Jamil > wrote: > >> You can correct me if I am wrong, but

Re: Django Rest framework

2023-11-14 Thread Akorede Habeebullah
Try using django-cors-headers. It should work. You can check it's documentation for how to use it. On Tue, Nov 14, 2023, 12:13 AM Lutaaya Jamil wrote: > You can correct me if I am wrong, but there is something to do with > > Cross-Origin Resource Sharing (CORS) in Django which somehow is set to

Re: Django Rest framework

2023-11-13 Thread Lutaaya Jamil
You can correct me if I am wrong, but there is something to do with Cross-Origin Resource Sharing (CORS) in Django which somehow is set to prevent unauthorized domains from accessing information from another domain. So, I suggest if that is the issue, follow the steps that start by installing

Re: Django Rest framework

2023-11-13 Thread Denny (Python developer)
i need assistance on deployment maybe vercel is not working on my side On Monday, November 13, 2023 at 4:19:48 PM UTC+3 Vishesh Mangla wrote: > Use selenium > > On Mon, 13 Nov, 2023, 18:48 Vishesh Mangla, wrote: > >> Don't use postman for gui based login >> >> On Mon, 13 Nov, 2023, 18:25

Re: Django Rest framework

2023-11-13 Thread Vishesh Mangla
Use selenium On Mon, 13 Nov, 2023, 18:48 Vishesh Mangla, wrote: > Don't use postman for gui based login > > On Mon, 13 Nov, 2023, 18:25 Denny (Python developer), < > denniskinan...@gmail.com> wrote: > >> i think the the error is from vercel itself assist me my tech guys >> >> On Monday,

Re: Django Rest framework

2023-11-13 Thread Vishesh Mangla
Don't use postman for gui based login On Mon, 13 Nov, 2023, 18:25 Denny (Python developer), < denniskinan...@gmail.com> wrote: > i think the the error is from vercel itself assist me my tech guys > > On Monday, November 13, 2023 at 3:54:29 PM UTC+3 Denny (Python developer) > wrote: > >> i hosted

Re: Django Rest framework

2023-11-13 Thread Denny (Python developer)
i think the the error is from vercel itself assist me my tech guys On Monday, November 13, 2023 at 3:54:29 PM UTC+3 Denny (Python developer) wrote: > i hosted my django application to vercel and am using free postgress > database from railway so when i try to register the user i get an error

Re: Django rest framework resources

2023-06-10 Thread David Nugent
Direct from the source! https://www.django-rest-framework.org/tutorial/quickstart/ Search on google/youtube for additional classes etc, but the above is always up to date with the framework (things have changed over time), so third-party sites may be a little outdated. The good news is that

Re: Django rest framework

2022-11-25 Thread Fortune Osho
It depend on what form of authentication you want to use e.g Session based authentication, token based. But would recommend token based authentication. Check out Django Rest Framework simple jwt On Fri, Nov 25, 2022 at 5:56 PM Pooja Kumari wrote: > Hello.. Can anybody help me with APIs in

Re: Django rest framework

2022-11-25 Thread Pooja Kumari
Thank you these references are very helpful On Fri, Nov 25, 2022, 11:16 PM Devang wrote: > Follow this website https://www.cdrf.co/ > It has all cheat sheet. > If you you want to implement login and signup please use either rest-auth > or dj-rest-auth package > > On Fri, 25 Nov 2022, 22:39 M

Re: Django rest framework

2022-11-25 Thread Devang
Follow this website https://www.cdrf.co/ It has all cheat sheet. If you you want to implement login and signup please use either rest-auth or dj-rest-auth package On Fri, 25 Nov 2022, 22:39 M Adnan, wrote: > Message in the group if no body will help than I will guide you in group I > am in

RE: Django rest framework

2022-11-25 Thread Ayanfe
You can use Django rest framework and jwt authentication. Once you understand Django rest framework  you can watch this Youtube video by Denis Ivy,  It explains jwt authentication with Django very well. Sent from Mail for Windows From: Pooja KumariSent: Friday, November 25, 2022 5:56 PMTo:

Re: Django rest framework

2022-11-25 Thread M Adnan
Message in the group if no body will help than I will guide you in group I am in admin in group On Fri, 25 Nov 2022, 10:02 pm Pooja Kumari, wrote: > Yeah.. I'm already in group. > > On Fri, Nov 25, 2022, 10:29 PM M Adnan wrote: > >> https://chat.whatsapp.com/ICXdXOrbgoNFQTbKxalZD1 >> >> >> >>

Re: Django rest framework

2022-11-25 Thread Pooja Kumari
Yeah.. I'm already in group. On Fri, Nov 25, 2022, 10:29 PM M Adnan wrote: > https://chat.whatsapp.com/ICXdXOrbgoNFQTbKxalZD1 > > > > Join this group to discuss all django query here all the developers will > help of you > > On Fri, 25 Nov 2022, 9:56 pm Pooja Kumari, > wrote: > >> Hello.. Can

Re: Django rest framework

2022-11-25 Thread M Adnan
https://chat.whatsapp.com/ICXdXOrbgoNFQTbKxalZD1 Join this group to discuss all django query here all the developers will help of you On Fri, 25 Nov 2022, 9:56 pm Pooja Kumari, wrote: > Hello.. Can anybody help me with APIs in django? I have to create > registration and login APIs but my

Re: Django Rest Framework & How to Learn it ?

2021-04-15 Thread GYANA RANJAN MOHANTY
Bro i am also facing same problem. On Fri, 16 Apr 2021, 1:11 am Aniket Balkhande, < aniketbalkhandeoffic...@gmail.com> wrote: > Dear Venki, > I have personally mailed you my contact details. > > Thanks & Regards, > Aniket > > On Thu, Apr 15, 2021 at 8:41 PM venki malli > wrote: > >> I will

Re: Django Rest Framework & How to Learn it ?

2021-04-15 Thread Aniket Balkhande
Dear Venki, I have personally mailed you my contact details. Thanks & Regards, Aniket On Thu, Apr 15, 2021 at 8:41 PM venki malli wrote: > I will help you so give your contract no > > On Mon, 12 Apr, 2021, 6:35 pm Aniket Balkhande, < > aniketbalkhandeoffic...@gmail.com> wrote: > >> Dear

Re: Django Rest Framework & How to Learn it ?

2021-04-15 Thread venki malli
I will help you so give your contract no On Mon, 12 Apr, 2021, 6:35 pm Aniket Balkhande, < aniketbalkhandeoffic...@gmail.com> wrote: > Dear Community Members, > I am Aniket, I have given 2 interviews this week, one for Django > Developer and the other for React Developer with Django

Re: Django Rest Framework & How to Learn it ?

2021-04-12 Thread Aniket Balkhande
Dear Ayser Shuhaib, Thanks for sharing, this channel has all the videos dedicated to DRF. kind regards, Aniket On Mon, Apr 12, 2021 at 8:52 PM Ayser shuhaib wrote: > This is a great YouTube channel to learn about DRF > > https://youtube.com/channel/UCh9biyYSlMzM9T3Xtxmglww > > Also see

Re: Django Rest Framework & How to Learn it ?

2021-04-12 Thread Ayser shuhaib
This is a great YouTube channel to learn about DRF https://youtube.com/channel/UCh9biyYSlMzM9T3Xtxmglww Also see this Udemy course https://www.udemy.com/course/python-django-rest-api/?referralCode=662DCC014E91DF235623 On Mon, 12 Apr 2021 at 16:44, Aniket Balkhande <

Re: Django Rest Framework & How to Learn it ?

2021-04-12 Thread Aniket Balkhande
Dear Amitesh, Yes they asked for a scenario about authentication for a university data access. How will you manage the authentication for principle, staff and students like that. I will try my best. Thanks Regards Aniket On Mon, Apr 12, 2021 at 6:40 PM 'Amitesh Sahay' via Django users <

Re: Django Rest Framework & How to Learn it ?

2021-04-12 Thread Aniket Balkhande
Thanks Shailesh Sir, I am sending you a request for connection. On Mon, Apr 12, 2021 at 6:44 PM Shailesh Yadav wrote: > Please ping me separately. I'll share some videos and notes with you. > > Thanks & Regards > Shailesh Yadav > > [image: Linkedin]

Re: Django Rest Framework & How to Learn it ?

2021-04-12 Thread Shailesh Yadav
Please ping me separately. I'll share some videos and notes with you. Thanks & Regards Shailesh Yadav [image: Linkedin] On Mon, Apr 12, 2021 at 6:40 PM 'Amitesh Sahay' via Django users < django-users@googlegroups.com> wrote: > As per my

Re: Django Rest Framework & How to Learn it ?

2021-04-12 Thread 'Amitesh Sahay' via Django users
As per my experience, start with user authentication system in DRF. How you can create a registration , login and logout system. When I started I stuck there. I am working on a Employee management system. If u want you can contribute and learn, even I am in the learning phase of DRF.  Sent

Re: Django Rest Framework APIView request

2021-02-01 Thread Chetan Ganji
If it needs to be done on specific endpoints, write a custom decorator method for that endpoint. If it needs to be done on every request, write custom middleware. On Mon, Feb 1, 2021, 1:51 PM Ammar Mohammed wrote: > > Hi everyone i have an API View inherited from another class > i want to

Re: Django rest framework

2020-07-23 Thread RANGA BHARATH JINKA
Hi, You can use requests library On Thu, Jul 23, 2020 at 3:59 PM Chander shekhar wrote: > Can someone suggest me the best sources to implement Django rest framework > video ? > How can I fetch api without Js? > Help > > -- > You received this message because you are subscribed to the Google

Re: Django Rest Framework

2020-07-23 Thread Ayser shuhaib
You are filtering by admin ID but you are passing the username not the user ID On Wed, 22 Jul 2020 at 19:37, Shishir Jha wrote: > Did you solve it? > > On Wed, 22 Jul 2020, 5:10 pm mishra39076, wrote: > >> I wan to fetch logged-in username using request but i am not getting it >> in

Re: Django Rest Framework

2020-07-22 Thread Shishir Jha
Did you solve it? On Wed, 22 Jul 2020, 5:10 pm mishra39076, wrote: > I wan to fetch logged-in username using request but i am not getting it in > departmentAndDesignationManagement/views.py > If anyone can help me then please suggest me. > I attached screenshots of

Re: Django rest framework saas project

2020-07-17 Thread Sunday Iyanu Ajayi
make use of django usergroups *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Tue, Jul 14, 2020 at 5:15 PM Raghavendra AK wrote: > Users must be able to… > > 1. signup. A Company should be created. > 2. create other users in the same company. > 3. see a list of users from the

Re: Django Rest Framework - Integrating Django Channels

2020-04-24 Thread 'Amitesh Sahay' via Django users
Hi, Try the below link:Django REST Framework and Channels | | | | | | | | | | | Django REST Framework and Channels OddBird We’ve begun exploring some patterns for how to add WebSocket push notifications to what is otherwise a RESTful A... | | | Regards, Amitesh

Re: Django rest framework error

2020-02-20 Thread MTS BOUR
Try from django.http import JsonResponse And use jsonresponse instead Le jeu. 20 févr. 2020 17:59, Soumen Khatua a écrit : > If I'm using serializer then it's working fine but I want to return only > database object. So for that Do I need to add serializer. > > Thank you for your response. >

Re: Django rest framework error

2020-02-20 Thread onlinejudge95
On Thu, Feb 20, 2020 at 11:30 PM Soumen Khatua wrote: > If I'm using serializer then it's working fine but I want to return only > database object. So for that Do I need to add serializer. > You do have to serialize your responses, you just can't send Python objects as an HTTP response, think

Re: Django rest framework error

2020-02-20 Thread Soumen Khatua
If I'm using serializer then it's working fine but I want to return only database object. So for that Do I need to add serializer. Thank you for your response. On Thu 20 Feb, 2020, 11:17 PM MTS BOUR, wrote: > Can you show us your serializer.py file? > > > Le jeu. 20 févr. 2020 17:40, Soumen

Re: Django rest framework error

2020-02-20 Thread MTS BOUR
Can you show us your serializer.py file? Le jeu. 20 févr. 2020 17:40, Soumen Khatua a écrit : > Hi Folks, > > I'm getting this error, I don't know how to solve it: > > > > > *File > "C:\Users\TildeHat\AppData\Local\Programs\Python\Python38-32\lib\json\encoder.py", > line 179, in default

Re: Django rest framework

2020-01-15 Thread aakansha jain
I know how to run a django project. I was asking for how to run the project which was a part of gsoc 2019 so that I can start contributing. But as it is not a django project and django framework itself. So, now how can I see the code for it and run it? On Wed, Jan 15, 2020 at 10:46 AM aman kumar

Re: Django rest framework

2020-01-14 Thread aman kumar
hey Akansha, welcome to the community...it will help you out... https://www.youtube.com/watch?v=b0lvbPcEHRg=PL1WVjBsN-_NIdlnACz0Mxuq8VcuxER-is=2 On Wednesday, January 15, 2020 at 12:07:55 AM UTC+5:30, aakansha jain wrote: > > Can anybody tell me how to run the project and see the code? I am

Re: Django rest framework

2020-01-14 Thread aman kumar
thankuh ROHIT, useful stuff. On Tue, Jan 14, 2020 at 11:58 PM ROHIT CHAUHAN wrote: > > > On Tue, 14 Jan 2020 at 14:38, Kasper Laudrup > wrote: > >> Hi Aman, >> >> On 14/01/2020 09.56, aman kumar wrote: >> > could anybody, please tell me that how we can do url mapping of create >> > api

Re: Django rest framework

2020-01-14 Thread aman kumar
yeah Kasper, it did very well, I found difficulty in mapping URLs ...but np I'll surely find a way to get out of it On Tue, Jan 14, 2020 at 2:38 PM Kasper Laudrup wrote: > Hi Aman, > > On 14/01/2020 09.56, aman kumar wrote: > > could anybody, please tell me that how we can do url

Re: Django rest framework

2020-01-14 Thread aakansha jain
Can anybody tell me how to run the project and see the code? I am a beginner and not able to run the project On Tue 14 Jan, 2020, 2:26 PM aman kumar, wrote: > could anybody, please tell me that how we can do url mapping of create api > view , update api view, ..n all.how we

Re: Django rest framework

2020-01-14 Thread Kasper Laudrup
Hi Aman, On 14/01/2020 09.56, aman kumar wrote: could anybody, please tell me that how we can do url mapping of create api view , update api view,  ..n all.how we can perform crud operation using generic views in rest framework..with django 2.2

Re: Django rest framework cannot deal with multple objects in model viewset

2019-12-05 Thread Matheus Almeida
Em quinta-feira, 20 de abril de 2017 23:18:03 UTC-3, Robin Lery escreveu: > > I have a very simple model and its related serializer and views: > > class Page(models.Model): > user = models.ForeignKey(User) > title = models.CharField(max_length=255) > pub_date =

Re: Django Rest Framework and Django allauth

2019-10-15 Thread Joseph Emeka
Yea i will be using OAuth2 cause the app will be more accessed by mobile app and i will still maintain a web version for non mobile user incase a user misplace mobile device. Allauth authentication is good but my concern is the API which Rest framework is better for that but Allauth does not. On

Re: Django Rest Framework and Django allauth

2019-10-15 Thread Nick Sarbicki
There is https://django-rest-auth.readthedocs.io/en/latest/introduction.html which goes some way to integrating the two. Depending on how your authenticating - e.g. if you are using OAuth2, I generally found allauth and rest auth got in the way more often then they were helpful and building some

Re: Django Rest Framework

2019-08-13 Thread Andréas Kühne
Hi, If you want to write it yourself - it's a rather complicated piece to implement. Checkout our source code and see how we have implemented it: https://github.com/promoteinternational/drf-nested Regards, Andréas Den mån 12 aug. 2019 kl 13:10 skrev Soumen Khatua : > I'm trying to write

Re: Django Rest Framework

2019-08-12 Thread ajoeiam
On Monday, August 12, 2019 at 6:10:31 AM UTC-5, Soumen Khatua wrote: > > I'm trying to write myself, Please tell me how I can do that by myself. > Not speaking as an expert but - - - - if you want to roll your own why not find his project (where to find listed above) download the thing and at

Re: Django Rest Framework

2019-08-12 Thread Soumen Khatua
I'm trying to write myself, Please tell me how I can do that by myself. Thank you for your response. Regards, Soumen On Mon, 12 Aug 2019, 12:44 Andréas Kühne, wrote: > Have you used a plugin for nested handling? Or are you writing one > yourself? > > I would recommend using a plugin. We have

Re: Django Rest Framework

2019-08-12 Thread Andréas Kühne
Have you used a plugin for nested handling? Or are you writing one yourself? I would recommend using a plugin. We have developed one that you are free to use: drf-nested on pypi or there are others on Pypi as well. Regards, Andréas Den mån 12 aug. 2019 kl 08:34 skrev Soumen Khatua : > Hi

Re: Django rest framework foreign key display details from table 1 to table 2

2018-04-05 Thread siva.gatti
did u get the solution for this if found send that to me -- 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 post to

Re: Django Rest Framework: Get Data from an external apis

2018-01-25 Thread Andy
you dont have to define any route when getting data from an external api, just use requests.get('https://api.test.com/consumers') to get your data -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Django Rest Framework: Get Data from an external apis

2018-01-25 Thread Jani Tiainen
Hi, You can't do that. Django URL configs are URLS that are routed to views withing Django and you can't define url that would access external sources. To access external sources you have to do that in your endpoint API to call remote resource, for example by using requests library. On

Re: Django rest framework foreign key display details from table 1 to table 2

2018-01-09 Thread Jason
What you are looking for is nested serialization. There's a section in the DRF docs on this that should provide some light. Fortunately, your serializers are almost there. -- You received this message because

Re: Django rest framework Version

2018-01-08 Thread Xavier Ordoquy
Hi, Out of curiosity, is there anything wrong with the latest version ? Regards, Xavier. > Le 9 janv. 2018 à 04:59, Rakhee Menon a écrit : > > Hey!!! > Please can anyone tell whats the stable version of django rest framework to > be used for production. > Thanks in

Re: Django rest framework Version

2018-01-08 Thread Andréas Kühne
Hi, Just get the latest version of DRF (currently 3.7.7) - as long as the version of django you are running is supported by the DRF version. Regards, Andréas 2018-01-09 4:59 GMT+01:00 Rakhee Menon : > Hey!!! > Please can anyone tell whats the stable version of django

Re: Django rest framework Best way to link and display value.

2018-01-04 Thread cherngyorng
So foreign key is fine. Thank you. I thought that maybe theres a better way than using foreign key. On Friday, January 5, 2018 at 4:38:58 PM UTC+9, Dylan Reinhold wrote: > > | But i have a feeling this is a very troublesome way to do it. > > Why do you have this feeling? Foreign key to another

Re: Django rest framework Best way to link and display value.

2018-01-04 Thread Dylan Reinhold
| But i have a feeling this is a very troublesome way to do it. Why do you have this feeling? Foreign key to another table sounds fine. If you don't think that list will change much you could do it as a choice. https://docs.djangoproject.com/en/2.0/ref/models/fields/#choices Dylan On Thu, Jan

Re: Django rest framework import data from one table to another

2018-01-04 Thread cherngyorng
This is my stackoverflow link which may be able to make it look more easier to understand: https://stackoverflow.com/questions/48109034/django-rest-framework-import-data-from-one-table-to-another On Friday, January 5, 2018 at 3:47:23 PM UTC+9, chern...@gmail.com wrote: > > I am doing a django

Re: Django rest framework import data from one table to another

2018-01-04 Thread cherngyorng
This is my stackoverflow link which may be able to make it look more easier to understand On Friday, January 5, 2018 at 3:47:23 PM UTC+9, chern...@gmail.com wrote: > > I am doing a django rest framework API for ios application. And currently, > i am doing a function between user and family. >

Re: Django rest framework viewset and its url

2018-01-04 Thread cherngyorng
> > Ah, i decide to instead of using 2 viewset for a single model, i use 1 > viewset and 1 APIView for it. > Therefore i deleted both post in here and in stackoverflow. Sorry for the > trouble. On Friday, January 5, 2018 at 1:56:44 PM UTC+9, Dylan Reinhold wrote: > > That link is not

Re: Django rest framework viewset and its url

2018-01-04 Thread Dylan Reinhold
That link is not valid, and without seeing your views no one will be able to help. Dylan On Thu, Jan 4, 2018 at 7:18 PM, wrote: > For a better and more detailed question i ask, refer to here : > https://stackoverflow.com/questions/48106733/django- >

Re: Django REST framework nested query.

2017-11-06 Thread Xavier Ordoquy
Hi, You are looking for nested serializers. Documentation explains how to deal with them at: http://www.django-rest-framework.org/api-guide/relations/#nested-relationships Regards, Xavier, Linovia. > Le 7 nov.

Re: Django rest framework JWT and custom authentication backend

2017-05-28 Thread Melvyn Sopacua
On Saturday 27 May 2017 02:08:02 Robin Lery wrote: > curl -X POST -d "email=ad...@gmail.com=123123" > http://localhost/api-token-auth/ > > "non_field_errors": [ > "Unable to log in with provided credentials." > ] > > What am I missing? Why is it that its working while loggin to the >

Re: Django rest framework cannot deal with multple objects in model viewset

2017-04-20 Thread Xavier Ordoquy
> Le 21 avr. 2017 à 04:17, Robin Lery a écrit : > > I have a very simple model and its related serializer and views: > > class Page(models.Model): > user = models.ForeignKey(User) > title = models.CharField(max_length=255) > pub_date =

Re: Django Rest Framework Output as list of lists

2016-12-08 Thread GMail
Hi! Seems like more StackOverflow question to me, since it has nothing to do with Django. But anyway, you could use list comprehensions: >>> result = [[x['date'], x['price']] for x in source['navs']] Also, it looks like list of lists is overkill (list uses more memory than tupple), and

Re: Django Rest Framework inside of Django Project

2016-08-26 Thread John
Sylvain, It is your choice. You can have views which return HTML and views which form a REST interface concurrently within the same project. You can choose to implement your non-mobile website using a javascript UI. Or you can use frameworks like React.js and do everything with one set of JS. To

Re: Django Rest Framework Custom Viewsets.

2016-06-24 Thread Tom Christie
Good stuff - make sure to add it to the django packages grid, here: https://www.djangopackages.com/grids/g/django-rest-framework/ You could also create a docs pull request to add a "Third Party Packages" to the viewsets section, here:

Re: Django rest framework - error 'TokenAuthentication' object has no attribute 'has_permission

2015-11-29 Thread Shekar Tippur
My bad. This was due to the permissions I had set on my class based view. I took out the tokenauthentication and it now works well. - Shekar -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: django-rest-framework-recursive view not returning ID

2015-08-23 Thread Shekar Tippur
James, My bad. Sorry an obvious mistake from my side. Yes, I had forgotten ID in the serializer field. - Shekar > > -- 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

Re: django-rest-framework-recursive view not returning ID

2015-08-23 Thread James Schneider
On Aug 23, 2015 10:05 AM, "Shekar Tippur" wrote: > > Hello, > > I am using https://github.com/heywbj/django-rest-framework-recursive and it works great. > > > I seem to have a small issue with it. When I try a GET operation on it, I dont seem to get the ID in the result. I want

Re: Django REST Framework: How to add prefix in URL for versioning

2014-11-05 Thread Lee Hinde
Swap the urls: url(r'^v1/', include(v1_urls, namespace="v1")) url(r'^', include(default_urls, namespace="default")), On Wed, Nov 5, 2014 at 5:01 AM, Shoaib Ijaz wrote: > I am trying to create version for REST application. Here is my URL Examle > > www.myapi.com/foo

Re: Django REST Framework

2014-10-23 Thread Max Nathaniel Ho
Hi Lachlan, Simple and clear explanation. Thanks! On Thu, Oct 23, 2014 at 5:43 PM, Lachlan Musicman wrote: > The way I always describe APIs (in a broad, general sense) is: > > Image internet service "Twotter" had posts, and each post had a date. > > If they had a date API

Re: Django REST Framework

2014-10-23 Thread Lachlan Musicman
The way I always describe APIs (in a broad, general sense) is: Image internet service "Twotter" had posts, and each post had a date. If they had a date API you might be able to get all of the posts for a month like: for month in months: return "https://twotter.org/%s; %month and then you

Re: Django REST Framework

2014-10-23 Thread Max Nathaniel Ho
Hi Andreas, Thank you. Will read up! On Thu, Oct 23, 2014 at 4:18 PM, Andreas Kuhne wrote: > Hi Max, > > I think you should really just google it a bit and read about it. > http://en.wikipedia.org/wiki/Representational_state_transfer is a good > start. > > A

Re: Django REST Framework

2014-10-23 Thread Andreas Kuhne
Hi Max, I think you should really just google it a bit and read about it. http://en.wikipedia.org/wiki/Representational_state_transfer is a good start. A simplified version is that a REST API allows you to get information about your database models in a structured and predictive way. HOW the API

Re: Django REST Framework

2014-10-23 Thread Max Nathaniel Ho
Hi Russell, Thanks for your reply. As I am fairly new to django and programming in general, do you mind sharing what REST APIs actually do? Thank you! On Thu, Oct 23, 2014 at 11:51 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > Hi Max, > > Django ReST Framework, as the name

Re: Django REST Framework

2014-10-22 Thread Russell Keith-Magee
Hi Max, Django ReST Framework, as the name suggests, is a framework for building ReST APIs in Django. It's not officially part of the Django framework, but it's creator and principle maintainer - Tom Christie - is a member of the Django core team. Tom recently held a Kickstarter to fund v3 of

Re: Django Rest Framework create api-root ???

2014-06-20 Thread Glyn Jackson
The documentation explains this very well: http://www.django-rest-framework.org/tutorial/5-relationships-and-hyperlinked-apis -- 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,