Re: Why do we need Django rest framework when our conventional django do what we want?

2022-08-26 Thread Vj Vijay
Api can make your website versatilewhat I mean by that is that your
website can communicate with all type of users easily with the help of API
almost most of the production ready applications  front end and backend are
built seperately so you need API to communicate

On Fri, Aug 26, 2022, 8:48 AM Ryan Nowakowski  wrote:

> On Sun, Jul 31, 2022 at 12:55:46AM -0700, Joseph Bashorun wrote:
> > I am stuck in a loop of confusion. I am trying to build an ecommerce
> > website and make it production ready. Do i need to build an API for it?
>
> No   https://twitter.com/htmx_org/status/1561808410856898561
>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/20220826031841.GG7295%40fattuba.com
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADOHSQWT-hZcYQF4ZGuagjXqsNOcqU9byoGKyBEGVy3Cj7mdTw%40mail.gmail.com.


Re: Why do we need Django rest framework when our conventional django do what we want?

2022-08-26 Thread ADAMSON BELLO
You need the Django rest api framework if your app would be distributed
through many chanels.

Le ven. 26 août 2022 à 05:57, Paul serubombwe  a
écrit :

> Its a requirement if your application is using 1. a fronted framework,
> 2. If your going to integrate APIs for instance payment APIs etc. And its
> also good in authentication.
> On Aug 26, 2022 6:19 AM, "Ryan Nowakowski"  wrote:
>
>> On Sun, Jul 31, 2022 at 12:55:46AM -0700, Joseph Bashorun wrote:
>> > I am stuck in a loop of confusion. I am trying to build an ecommerce
>> > website and make it production ready. Do i need to build an API for it?
>>
>> No   https://twitter.com/htmx_org/status/1561808410856898561
>>
>> --
>> 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 discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/20220826031841.GG7295%40fattuba.com
>> .
>>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJkmis1qXdtxEJz63O_a5cSwy00UZawxo4E9RukJrd8D8aeBJw%40mail.gmail.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJB56mr%3DaHmM8O157gu5QSenjH2c7ae%3DavTWmnNfFbscW6gq6g%40mail.gmail.com.


Re: Why do we need Django rest framework when our conventional django do what we want?

2022-08-26 Thread Paul serubombwe
Its a requirement if your application is using 1. a fronted framework,
2. If your going to integrate APIs for instance payment APIs etc. And its
also good in authentication.
On Aug 26, 2022 6:19 AM, "Ryan Nowakowski"  wrote:

> On Sun, Jul 31, 2022 at 12:55:46AM -0700, Joseph Bashorun wrote:
> > I am stuck in a loop of confusion. I am trying to build an ecommerce
> > website and make it production ready. Do i need to build an API for it?
>
> No   https://twitter.com/htmx_org/status/1561808410856898561
>
> --
> 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 discussion on the web visit https://groups.google.com/d/
> msgid/django-users/20220826031841.GG7295%40fattuba.com.
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJkmis1qXdtxEJz63O_a5cSwy00UZawxo4E9RukJrd8D8aeBJw%40mail.gmail.com.


Re: Why do we need Django rest framework when our conventional django do what we want?

2022-08-25 Thread Ryan Nowakowski
On Sun, Jul 31, 2022 at 12:55:46AM -0700, Joseph Bashorun wrote:
> I am stuck in a loop of confusion. I am trying to build an ecommerce 
> website and make it production ready. Do i need to build an API for it?

No   https://twitter.com/htmx_org/status/1561808410856898561

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20220826031841.GG7295%40fattuba.com.


Re: Why do we need Django rest framework when our conventional django do what we want?

2022-07-31 Thread Abdul Qoyyuum
It really depends on your usecase. If you find that you can work without an 
API for your ecommerce website, then you don't need it. If you believe you 
need to make your ecommerce as a headless ecommerce site, then you need an 
API or GraphQL or other means of sharing data.

On Sunday, July 31, 2022 at 10:24:17 PM UTC+8 josephb...@gmail.com wrote:

>
> I am stuck in a loop of confusion. I am trying to build an ecommerce 
> website and make it production ready. Do i need to build an API for it?
>
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1ad7a40e-db94-488a-86fc-bf3654936b48n%40googlegroups.com.


Re: Why do we need Django rest framework when our conventional django do what we want?

2022-07-31 Thread Adebileje Nurudeen
Sure... You need it

On Sun, Jul 31, 2022, 3:24 PM Joseph Bashorun 
wrote:

>
> I am stuck in a loop of confusion. I am trying to build an ecommerce
> website and make it production ready. Do i need to build an API for it?
>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e45680e6-7c40-4ff4-985b-6cdc31a59e29n%40googlegroups.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOfwBVgCnpX5iNmpF3Rfo1rLwHZk93OGXnf_OWZcoDesKv99vw%40mail.gmail.com.


Re: Why do we need Django rest framework when our conventional django do what we want?

2022-07-31 Thread Julio Cojom
There are a couple of projects built in Django for this, for example
Django-Oscar or saleor(community version), the last one is a tech stack a
little bigger but really fast and customizable.

If you want to start one from scratch, be sure to check both projects as
they have good abstraction classes.

Regards



El El dom, 31 de jul. de 2022 a la(s) 16:02, Ram 
escribió:

> Hi,
>
> In my opinion if you are starting from scratch to develop your ecommerce
> application, I would encourage you to start with DRF, but if in case if you
> can not afford to write DRF APIs for an existing application, you might
> want to refer this:
>
>
> https://www.oneclickitsolution.com/blog/integrate-postgres-database-connection-in-flutter/
>
> Disclaimer: I can not give any guarantee on this article because we did
> not try this. In fact I would like to hear comments from other experts here
> about this article?
>
> Best regards,
> ~Ram
>
>
>
> On Sun, Jul 31, 2022 at 8:30 AM Lakshyaraj Dash <
> dashlakshyaraj2...@gmail.com> wrote:
>
>> You need drf aka DjangoRestFramework because it provides a smooth api for
>> your application. It comes into use whenever you're trying to have a
>> javascript framework like ReactJS or NextJS or Angular or VueJS etc... On
>> the client side. If you inject js framework in the frontend you also need a
>> package called django-cors-headers.
>>
>> You can also use drf with django if you don't have any js frameworks in
>> the client side. In this case you don't need a cors headers package.
>>
>> Thanks and Regards
>> Lakshyaraj Dash
>>
>> On Sun, Jul 31, 2022, 19:53 Joseph Bashorun 
>> wrote:
>>
>>>
>>> I am stuck in a loop of confusion. I am trying to build an ecommerce
>>> website and make it production ready. Do i need to build an API for it?
>>>
>>> --
>>> 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 discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/e45680e6-7c40-4ff4-985b-6cdc31a59e29n%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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 discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAF7qQgCcfSxsJjbpgPUbW%2Bs1kUDB9VF2ES9QfzUrKrt%3DiYUhLg%40mail.gmail.com
>> 
>> .
>>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2BOi5F11sjbkoXN6PpQvHOknTCSbmyvG6Yis9aKJESzhOyuQNA%40mail.gmail.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHRQUHk%2Bn4A%3DK-tBp3BcL86L3%3DRJgouMsDzQrQS-woiCzN_YOQ%40mail.gmail.com.


Re: Why do we need Django rest framework when our conventional django do what we want?

2022-07-31 Thread Ram
Hi,

In my opinion if you are starting from scratch to develop your ecommerce
application, I would encourage you to start with DRF, but if in case if you
can not afford to write DRF APIs for an existing application, you might
want to refer this:

https://www.oneclickitsolution.com/blog/integrate-postgres-database-connection-in-flutter/

Disclaimer: I can not give any guarantee on this article because we did not
try this. In fact I would like to hear comments from other experts here
about this article?

Best regards,
~Ram



On Sun, Jul 31, 2022 at 8:30 AM Lakshyaraj Dash <
dashlakshyaraj2...@gmail.com> wrote:

> You need drf aka DjangoRestFramework because it provides a smooth api for
> your application. It comes into use whenever you're trying to have a
> javascript framework like ReactJS or NextJS or Angular or VueJS etc... On
> the client side. If you inject js framework in the frontend you also need a
> package called django-cors-headers.
>
> You can also use drf with django if you don't have any js frameworks in
> the client side. In this case you don't need a cors headers package.
>
> Thanks and Regards
> Lakshyaraj Dash
>
> On Sun, Jul 31, 2022, 19:53 Joseph Bashorun 
> wrote:
>
>>
>> I am stuck in a loop of confusion. I am trying to build an ecommerce
>> website and make it production ready. Do i need to build an API for it?
>>
>> --
>> 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 discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/e45680e6-7c40-4ff4-985b-6cdc31a59e29n%40googlegroups.com
>> 
>> .
>>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAF7qQgCcfSxsJjbpgPUbW%2Bs1kUDB9VF2ES9QfzUrKrt%3DiYUhLg%40mail.gmail.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BOi5F11sjbkoXN6PpQvHOknTCSbmyvG6Yis9aKJESzhOyuQNA%40mail.gmail.com.


Re: Why do we need Django rest framework when our conventional django do what we want?

2022-07-31 Thread Lakshyaraj Dash
You need drf aka DjangoRestFramework because it provides a smooth api for
your application. It comes into use whenever you're trying to have a
javascript framework like ReactJS or NextJS or Angular or VueJS etc... On
the client side. If you inject js framework in the frontend you also need a
package called django-cors-headers.

You can also use drf with django if you don't have any js frameworks in the
client side. In this case you don't need a cors headers package.

Thanks and Regards
Lakshyaraj Dash

On Sun, Jul 31, 2022, 19:53 Joseph Bashorun 
wrote:

>
> I am stuck in a loop of confusion. I am trying to build an ecommerce
> website and make it production ready. Do i need to build an API for it?
>
> --
> 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 discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e45680e6-7c40-4ff4-985b-6cdc31a59e29n%40googlegroups.com
> 
> .
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAF7qQgCcfSxsJjbpgPUbW%2Bs1kUDB9VF2ES9QfzUrKrt%3DiYUhLg%40mail.gmail.com.


Why do we need Django rest framework when our conventional django do what we want?

2022-07-31 Thread Joseph Bashorun

I am stuck in a loop of confusion. I am trying to build an ecommerce 
website and make it production ready. Do i need to build an API for it?

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e45680e6-7c40-4ff4-985b-6cdc31a59e29n%40googlegroups.com.