DjangoRestFramework

2019-04-08 Thread Minhaj Nadeem
Hi everyone,
I am new to Django Rest Framework. I have developed a program using
pyCharm. A local url that gets list of users. It is working fine on web, I
tried to execute this API from android App but it return *null *response.
please tell me how can i have working API on android App. Thank you!

-- 
Best Regards,
*Muhammad Minhaj Nadeem*
*Software engineer*
*Cell: +92 334 6241289 *

LinkedIn  | Skype


-- 
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 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/CAAwTtYi9yKWEGPOqwze6s-dY995PrWPdfVWV4egnc9p4K9vTMw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: DjangoRestFramework

2019-04-08 Thread Mamadou Harouna Diallo
Lorsque vous utiliser le cURL votre api vous retourne t-elle toutes les
données dont vous avez besoin ?
si c'est le cas, avez vous pris en compte les cors dans votre API, cela
peut parfois être également une source d'erreur pour ceux qui consomme
l'API.

Vous pouvez installer les cors avec :

pip install django-cors-headers

puis ajout l'application dans votre INSTALLED_APPS

INSTALLED_APPS = (
...
'corsheaders',
...)

en suite dans votre middleware :

MIDDLEWARE_CLASSES = [
...
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
...]
mettre CoreMiddleware le plus haut possible.

En suite ajouter  CORS_ORIGIN_ALLOW_ALL=True (dans votre settings.py)

Puis en fin : ajouter les hotes autoriser:

CORS_ORIGIN_WHITELIST = (
'hostname.example.com',
'localhost:8000',
'127.0.0.1:9000')
NB : préciser les votres.


Et si vous vérifiez tout cela et que le problème ne vient pas de la,
merci de vérifier votre code java(ce service qui consomme votre API)


J'espère que cela va vous aider, Merci !

Le lun. 8 avr. 2019 à 11:23, Minhaj Nadeem  a écrit :

> Hi everyone,
> I am new to Django Rest Framework. I have developed a program using
> pyCharm. A local url that gets list of users. It is working fine on web, I
> tried to execute this API from android App but it return *null *response.
> please tell me how can i have working API on android App. Thank you!
>
> --
> Best Regards,
> *Muhammad Minhaj Nadeem*
> *Software engineer*
> *Cell: +92 334 6241289 *
>
> LinkedIn  | Skype
> 
>
> --
> 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 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/CAAwTtYi9yKWEGPOqwze6s-dY995PrWPdfVWV4egnc9p4K9vTMw%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+unsubscr...@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/CAO73PDozoQDOA7q2PSPrJ_3R3VGeTwsmnHV_4j5EcPaLPWL1uA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


djangorestframework vs GraphQL

2019-11-12 Thread guettli
Hi,

I am new to GraphQL, but I like the idea very much.

There is already an A Django integration for Graphene: 
https://github.com/graphql-python/graphene-django


What are the pros and cons of djangorestframework and GraphQL?

Which one would you choose, if you could start from scratch?

Regards,
  Thomas Güttler

PS: I am always looking for feedback for my guidelines: 
https://github.com/guettli/programming-guidelines

-- 
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/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com.


Django+DjangoRestFramework+React+Redux

2020-09-03 Thread Yogendra Yadav
Anyone please suggest some good GitHub repos to learn the subject 
combination

-- 
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/c3604b2a-6824-479f-9511-eb5edbad86bfn%40googlegroups.com.


Re: djangorestframework vs GraphQL

2019-11-12 Thread Nick Sarbicki
GraphQL strikes me as very similar to NoSQL.

Useful in niches but the older standard is better in general.

I've tried both and the added complexity (designing a system to generate
all required data from a single request) of GraphQL for the, seemingly
minor, gain (a single request for all your data) doesn't enthuse me.

It's an interesting solution to a problem I've never really had. Not to say
it isn't useful in some situations, I just haven't yet encountered a
situation where it is.

- Nick


On Tue, Nov 12, 2019 at 9:14 AM guettli  wrote:

> Hi,
>
> I am new to GraphQL, but I like the idea very much.
>
> There is already an A Django integration for Graphene:
> https://github.com/graphql-python/graphene-django
>
>
> What are the pros and cons of djangorestframework and GraphQL?
>
> Which one would you choose, if you could start from scratch?
>
> Regards,
>   Thomas Güttler
>
> PS: I am always looking for feedback for my guidelines:
> https://github.com/guettli/programming-guidelines
>
> --
> 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/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAGuvt90HG0OE9kV9axHvkFx8xfa7qD41HdV3tuoupSKYjdG9ew%40mail.gmail.com.


Re: djangorestframework vs GraphQL

2019-11-12 Thread Integr@te System
Hi Freinds,

GQL, when compare DRF, it as an option, and for whom familiar with other
tools without DRF or Python, and align thinking with framework/anythingelse
relate to JS.
Base on your choice or requirement.

On Tue, Nov 12, 2019, 16:24 Nick Sarbicki  wrote:

> GraphQL strikes me as very similar to NoSQL.
>
> Useful in niches but the older standard is better in general.
>
> I've tried both and the added complexity (designing a system to generate
> all required data from a single request) of GraphQL for the, seemingly
> minor, gain (a single request for all your data) doesn't enthuse me.
>
> It's an interesting solution to a problem I've never really had. Not to
> say it isn't useful in some situations, I just haven't yet encountered a
> situation where it is.
>
> - Nick
>
>
> On Tue, Nov 12, 2019 at 9:14 AM guettli  wrote:
>
>> Hi,
>>
>> I am new to GraphQL, but I like the idea very much.
>>
>> There is already an A Django integration for Graphene:
>> https://github.com/graphql-python/graphene-django
>>
>>
>> What are the pros and cons of djangorestframework and GraphQL?
>>
>> Which one would you choose, if you could start from scratch?
>>
>> Regards,
>>   Thomas Güttler
>>
>> PS: I am always looking for feedback for my guidelines:
>> https://github.com/guettli/programming-guidelines
>>
>> --
>> 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/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAGuvt90HG0OE9kV9axHvkFx8xfa7qD41HdV3tuoupSKYjdG9ew%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAGuvt90HG0OE9kV9axHvkFx8xfa7qD41HdV3tuoupSKYjdG9ew%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAP5HUWpTahk-C8dqT7Y4aqgCC6r8GzCtJX_iKZLrjdDaLOsftQ%40mail.gmail.com.


Re: djangorestframework vs GraphQL

2019-11-13 Thread guettli
I never used GraphQL, but I like it. In the past the django web framework 
had a different API than a restframework for ruby or Nodejs.

With GraphQL you have a well defined API and changeing the backend part 
should be easier.

But again, I never used it up to now.

Am Dienstag, 12. November 2019 12:51:25 UTC+1 schrieb Integr@te System:
>
> Hi Freinds,
>
> GQL, when compare DRF, it as an option, and for whom familiar with other 
> tools without DRF or Python, and align thinking with framework/anythingelse 
> relate to JS.
> Base on your choice or requirement.
>
> On Tue, Nov 12, 2019, 16:24 Nick Sarbicki  > wrote:
>
>> GraphQL strikes me as very similar to NoSQL.
>>
>> Useful in niches but the older standard is better in general.
>>
>> I've tried both and the added complexity (designing a system to generate 
>> all required data from a single request) of GraphQL for the, seemingly 
>> minor, gain (a single request for all your data) doesn't enthuse me.
>>
>> It's an interesting solution to a problem I've never really had. Not to 
>> say it isn't useful in some situations, I just haven't yet encountered a 
>> situation where it is.
>>
>> - Nick
>>
>>
>> On Tue, Nov 12, 2019 at 9:14 AM guettli > 
>> wrote:
>>
>>> Hi,
>>>
>>> I am new to GraphQL, but I like the idea very much.
>>>
>>> There is already an A Django integration for Graphene: 
>>> https://github.com/graphql-python/graphene-django
>>>
>>>
>>> What are the pros and cons of djangorestframework and GraphQL?
>>>
>>> Which one would you choose, if you could start from scratch?
>>>
>>> Regards,
>>>   Thomas Güttler
>>>
>>> PS: I am always looking for feedback for my guidelines: 
>>> https://github.com/guettli/programming-guidelines
>>>
>>> -- 
>>> 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...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAGuvt90HG0OE9kV9axHvkFx8xfa7qD41HdV3tuoupSKYjdG9ew%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/django-users/CAGuvt90HG0OE9kV9axHvkFx8xfa7qD41HdV3tuoupSKYjdG9ew%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/20edfecc-976a-46c7-b71e-006ea5c660ea%40googlegroups.com.


Re: djangorestframework vs GraphQL

2019-11-13 Thread DANIEL URBANO DE LA RUA
You have a good example on saleor eccomerce is on github

On Wed, 13 Nov 2019, 09:15 guettli,  wrote:

> I never used GraphQL, but I like it. In the past the django web framework
> had a different API than a restframework for ruby or Nodejs.
>
> With GraphQL you have a well defined API and changeing the backend part
> should be easier.
>
> But again, I never used it up to now.
>
> Am Dienstag, 12. November 2019 12:51:25 UTC+1 schrieb Integr@te System:
>>
>> Hi Freinds,
>>
>> GQL, when compare DRF, it as an option, and for whom familiar with other
>> tools without DRF or Python, and align thinking with framework/anythingelse
>> relate to JS.
>> Base on your choice or requirement.
>>
>> On Tue, Nov 12, 2019, 16:24 Nick Sarbicki  wrote:
>>
>>> GraphQL strikes me as very similar to NoSQL.
>>>
>>> Useful in niches but the older standard is better in general.
>>>
>>> I've tried both and the added complexity (designing a system to generate
>>> all required data from a single request) of GraphQL for the, seemingly
>>> minor, gain (a single request for all your data) doesn't enthuse me.
>>>
>>> It's an interesting solution to a problem I've never really had. Not to
>>> say it isn't useful in some situations, I just haven't yet encountered a
>>> situation where it is.
>>>
>>> - Nick
>>>
>>>
>>> On Tue, Nov 12, 2019 at 9:14 AM guettli  wrote:
>>>
>>>> Hi,
>>>>
>>>> I am new to GraphQL, but I like the idea very much.
>>>>
>>>> There is already an A Django integration for Graphene:
>>>> https://github.com/graphql-python/graphene-django
>>>>
>>>>
>>>> What are the pros and cons of djangorestframework and GraphQL?
>>>>
>>>> Which one would you choose, if you could start from scratch?
>>>>
>>>> Regards,
>>>>   Thomas Güttler
>>>>
>>>> PS: I am always looking for feedback for my guidelines:
>>>> https://github.com/guettli/programming-guidelines
>>>>
>>>> --
>>>> 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...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAGuvt90HG0OE9kV9axHvkFx8xfa7qD41HdV3tuoupSKYjdG9ew%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAGuvt90HG0OE9kV9axHvkFx8xfa7qD41HdV3tuoupSKYjdG9ew%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/20edfecc-976a-46c7-b71e-006ea5c660ea%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/20edfecc-976a-46c7-b71e-006ea5c660ea%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAO_yRT1mMwY%3DFkHYraRqBNovxEaVW0BaGyW_u-4P2_uuOHQXJQ%40mail.gmail.com.


Re: djangorestframework vs GraphQL

2019-11-14 Thread guettli
Thank you for the hint. Saleor looks very good. 

Am Mittwoch, 13. November 2019 11:35:17 UTC+1 schrieb DANIEL URBANO DE LA 
RUA:
>
> You have a good example on saleor eccomerce is on github
>
> On Wed, 13 Nov 2019, 09:15 guettli, > 
> wrote:
>
>> I never used GraphQL, but I like it. In the past the django web framework 
>> had a different API than a restframework for ruby or Nodejs.
>>
>> With GraphQL you have a well defined API and changeing the backend part 
>> should be easier.
>>
>> But again, I never used it up to now.
>>
>> Am Dienstag, 12. November 2019 12:51:25 UTC+1 schrieb Integr@te System:
>>>
>>> Hi Freinds,
>>>
>>> GQL, when compare DRF, it as an option, and for whom familiar with other 
>>> tools without DRF or Python, and align thinking with framework/anythingelse 
>>> relate to JS.
>>> Base on your choice or requirement.
>>>
>>> On Tue, Nov 12, 2019, 16:24 Nick Sarbicki  wrote:
>>>
>>>> GraphQL strikes me as very similar to NoSQL.
>>>>
>>>> Useful in niches but the older standard is better in general.
>>>>
>>>> I've tried both and the added complexity (designing a system to 
>>>> generate all required data from a single request) of GraphQL for the, 
>>>> seemingly minor, gain (a single request for all your data) doesn't enthuse 
>>>> me.
>>>>
>>>> It's an interesting solution to a problem I've never really had. Not to 
>>>> say it isn't useful in some situations, I just haven't yet encountered a 
>>>> situation where it is.
>>>>
>>>> - Nick
>>>>
>>>>
>>>> On Tue, Nov 12, 2019 at 9:14 AM guettli  wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am new to GraphQL, but I like the idea very much.
>>>>>
>>>>> There is already an A Django integration for Graphene: 
>>>>> https://github.com/graphql-python/graphene-django
>>>>>
>>>>>
>>>>> What are the pros and cons of djangorestframework and GraphQL?
>>>>>
>>>>> Which one would you choose, if you could start from scratch?
>>>>>
>>>>> Regards,
>>>>>   Thomas Güttler
>>>>>
>>>>> PS: I am always looking for feedback for my guidelines: 
>>>>> https://github.com/guettli/programming-guidelines
>>>>>
>>>>> -- 
>>>>> 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...@googlegroups.com.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/django-users/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/django-users/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>>> 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...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/django-users/CAGuvt90HG0OE9kV9axHvkFx8xfa7qD41HdV3tuoupSKYjdG9ew%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/django-users/CAGuvt90HG0OE9kV9axHvkFx8xfa7qD41HdV3tuoupSKYjdG9ew%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/20edfecc-976a-46c7-b71e-006ea5c660ea%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/20edfecc-976a-46c7-b71e-006ea5c660ea%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/0fe64ee7-4ae1-4ff1-b255-01e317b09da5%40googlegroups.com.


Re: djangorestframework vs GraphQL

2019-11-14 Thread DANIEL URBANO DE LA RUA
Thanks to you i happy if that can help you out ;)

On Thu, 14 Nov 2019, 09:51 guettli,  wrote:

> Thank you for the hint. Saleor looks very good.
>
> Am Mittwoch, 13. November 2019 11:35:17 UTC+1 schrieb DANIEL URBANO DE LA
> RUA:
>>
>> You have a good example on saleor eccomerce is on github
>>
>> On Wed, 13 Nov 2019, 09:15 guettli,  wrote:
>>
>>> I never used GraphQL, but I like it. In the past the django web
>>> framework had a different API than a restframework for ruby or Nodejs.
>>>
>>> With GraphQL you have a well defined API and changeing the backend part
>>> should be easier.
>>>
>>> But again, I never used it up to now.
>>>
>>> Am Dienstag, 12. November 2019 12:51:25 UTC+1 schrieb Integr@te System:
>>>>
>>>> Hi Freinds,
>>>>
>>>> GQL, when compare DRF, it as an option, and for whom familiar with
>>>> other tools without DRF or Python, and align thinking with
>>>> framework/anythingelse relate to JS.
>>>> Base on your choice or requirement.
>>>>
>>>> On Tue, Nov 12, 2019, 16:24 Nick Sarbicki  wrote:
>>>>
>>>>> GraphQL strikes me as very similar to NoSQL.
>>>>>
>>>>> Useful in niches but the older standard is better in general.
>>>>>
>>>>> I've tried both and the added complexity (designing a system to
>>>>> generate all required data from a single request) of GraphQL for the,
>>>>> seemingly minor, gain (a single request for all your data) doesn't enthuse
>>>>> me.
>>>>>
>>>>> It's an interesting solution to a problem I've never really had. Not
>>>>> to say it isn't useful in some situations, I just haven't yet encountered 
>>>>> a
>>>>> situation where it is.
>>>>>
>>>>> - Nick
>>>>>
>>>>>
>>>>> On Tue, Nov 12, 2019 at 9:14 AM guettli  wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I am new to GraphQL, but I like the idea very much.
>>>>>>
>>>>>> There is already an A Django integration for Graphene:
>>>>>> https://github.com/graphql-python/graphene-django
>>>>>>
>>>>>>
>>>>>> What are the pros and cons of djangorestframework and GraphQL?
>>>>>>
>>>>>> Which one would you choose, if you could start from scratch?
>>>>>>
>>>>>> Regards,
>>>>>>   Thomas Güttler
>>>>>>
>>>>>> PS: I am always looking for feedback for my guidelines:
>>>>>> https://github.com/guettli/programming-guidelines
>>>>>>
>>>>>> --
>>>>>> 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...@googlegroups.com.
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/django-users/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com
>>>>>> <https://groups.google.com/d/msgid/django-users/f5dd3fea-28ab-4b01-9e07-0819b4bb91cb%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> --
>>>>> 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...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/CAGuvt90HG0OE9kV9axHvkFx8xfa7qD41HdV3tuoupSKYjdG9ew%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CAGuvt90HG0OE9kV9axHvkFx8xfa7qD41HdV3tuoupSKYjdG9ew%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/20edfecc-976a-46c7-b71e-006ea5c660ea%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/20edfecc-976a-46c7-b71e-006ea5c660ea%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/0fe64ee7-4ae1-4ff1-b255-01e317b09da5%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/0fe64ee7-4ae1-4ff1-b255-01e317b09da5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAO_yRT08vk3QaQz9m%3DtkD6JqmMwgc9%3DnOjiSNZTgu0AyuOFX6w%40mail.gmail.com.


Re: Django+DjangoRestFramework+React+Redux

2020-09-03 Thread Gerardo Palazuelos Guerrero
search for Brad Traversy's Django + React series of videos in YouTube

--
Gerardo Palazuelos Guerrero



On Thu, Sep 3, 2020 at 12:42 PM Yogendra Yadav 
wrote:

> Anyone please suggest some good GitHub repos to learn the subject
> combination
>
> --
> 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/c3604b2a-6824-479f-9511-eb5edbad86bfn%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/CAJ8iCyO3qdSme%2BajBJ9kwpyKrdJK21AwSse0YD16nku4MmGDDQ%40mail.gmail.com.


Re: Django+DjangoRestFramework+React+Redux

2020-09-03 Thread Yogendra Yadav
Please suggest some open source projects for the same combination

On Fri, Sep 4, 2020 at 12:25 AM Gerardo Palazuelos Guerrero <
gerardo.palazue...@gmail.com> wrote:

> search for Brad Traversy's Django + React series of videos in YouTube
>
> --
> Gerardo Palazuelos Guerrero
>
>
>
> On Thu, Sep 3, 2020 at 12:42 PM Yogendra Yadav 
> wrote:
>
>> Anyone please suggest some good GitHub repos to learn the subject
>> combination
>>
>> --
>> 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/c3604b2a-6824-479f-9511-eb5edbad86bfn%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/CAJ8iCyO3qdSme%2BajBJ9kwpyKrdJK21AwSse0YD16nku4MmGDDQ%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/CANiv6f3wkSySd2zVCPN4mkWWSDFqE%3DFyFbtD%3DDPxh7cdb5Ouqg%40mail.gmail.com.


Django+DjangoRestFramework+React+Redux open source projects

2020-09-05 Thread Yogendra Yadav
Please suggest open source projects to learn subject combination

-- 
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/4af9efdc-1b3a-4170-93e3-403cc2b2e241n%40googlegroups.com.


How to Setup DjangoRestFrameWork with Mongo DB

2020-03-28 Thread venna venkatReddy
hey guys,

i am new to Django and Any one can guide me how to setup 
DjangoRestFrameWork with Mongo DB,

My task is:

i need to create Api for data inserting and updating and delecting that 
data must in mongodb, I previous work with sqlite3 and postgresql and mysql 
but this is the first time to work with mongodb


Please help, thanks

-- 
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/03e4676f-8175-48a7-872c-e7e2223a8167%40googlegroups.com.


Re: Django+DjangoRestFramework+React+Redux open source projects

2020-09-05 Thread Shishir Jha
Look for gothinkster in github

On Sat, 5 Sep 2020, 10:20 pm Yogendra Yadav, 
wrote:

> Please suggest open source projects to learn subject combination
>
> --
> 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/4af9efdc-1b3a-4170-93e3-403cc2b2e241n%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/CA%2BC7wFTiSdqFckigW%3Dq4kq6y4CK32MaEXg5XbLwHpgy6c4k8EA%40mail.gmail.com.


Re: Django+DjangoRestFramework+React+Redux open source projects

2020-09-05 Thread Yogendra Yadav
thank you, can you please suggest some more

On Sun, Sep 6, 2020 at 3:01 AM Shishir Jha  wrote:

> Look for gothinkster in github
>
> On Sat, 5 Sep 2020, 10:20 pm Yogendra Yadav, 
> wrote:
>
>> Please suggest open source projects to learn subject combination
>>
>> --
>> 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/4af9efdc-1b3a-4170-93e3-403cc2b2e241n%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/CA%2BC7wFTiSdqFckigW%3Dq4kq6y4CK32MaEXg5XbLwHpgy6c4k8EA%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/CANiv6f3VWqmKK1B4zc-or3FkULOkmkWYwoHfNiwYTC3M-6jJ5Q%40mail.gmail.com.


Re: Django+DjangoRestFramework+React+Redux open source projects

2020-09-05 Thread Shishir Jha
https://github.com/justdjango/django-react-ecommerce

There are many more you can find it on searching google.

On Sun, 6 Sep 2020, 9:43 am Yogendra Yadav, 
wrote:

> thank you, can you please suggest some more
>
> On Sun, Sep 6, 2020 at 3:01 AM Shishir Jha 
> wrote:
>
>> Look for gothinkster in github
>>
>> On Sat, 5 Sep 2020, 10:20 pm Yogendra Yadav, 
>> wrote:
>>
>>> Please suggest open source projects to learn subject combination
>>>
>>> --
>>> 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/4af9efdc-1b3a-4170-93e3-403cc2b2e241n%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/CA%2BC7wFTiSdqFckigW%3Dq4kq6y4CK32MaEXg5XbLwHpgy6c4k8EA%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/CANiv6f3VWqmKK1B4zc-or3FkULOkmkWYwoHfNiwYTC3M-6jJ5Q%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%2BC7wFRtagRF1J1aP-5_AjXL-PtX4yKYbZxM3dvyea%2BrT8g8fw%40mail.gmail.com.


Re: Django+DjangoRestFramework+React+Redux open source projects

2020-09-06 Thread Shishir Jha
And here are the two repos which represent frontend and backend for a react
and django app that I built during a hiring process. Note that this is a
very beginner level. I had to submit it within 10 days. But it covers all
the basics like rest apis, authentication,authorization, calling backend
rest api from react frontend. I have not done state management with redux
or context. I have simply passed props up or down. You can implement redux
and learn yourself. If anyone wants to submit the PR after implementing
redux or context api or recoil I will merge it in master. It will be a good
learning experience.

https://github.com/shishirjha/keeper_frontend  (frontend)
https://github.com/shishirjha/notesKeeper  (backend)

On Sun, Sep 6, 2020 at 9:54 AM Shishir Jha  wrote:

> https://github.com/justdjango/django-react-ecommerce
>
> There are many more you can find it on searching google.
>
> On Sun, 6 Sep 2020, 9:43 am Yogendra Yadav, 
> wrote:
>
>> thank you, can you please suggest some more
>>
>> On Sun, Sep 6, 2020 at 3:01 AM Shishir Jha 
>> wrote:
>>
>>> Look for gothinkster in github
>>>
>>> On Sat, 5 Sep 2020, 10:20 pm Yogendra Yadav, 
>>> wrote:
>>>
 Please suggest open source projects to learn subject combination

 --
 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/4af9efdc-1b3a-4170-93e3-403cc2b2e241n%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/CA%2BC7wFTiSdqFckigW%3Dq4kq6y4CK32MaEXg5XbLwHpgy6c4k8EA%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/CANiv6f3VWqmKK1B4zc-or3FkULOkmkWYwoHfNiwYTC3M-6jJ5Q%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%2BC7wFSXY_7kek2bdS7Td0G7eJPj%2Bt0d-mOz-pcZHEk0XrhGBw%40mail.gmail.com.


Re: Django+DjangoRestFramework+React+Redux open source projects

2020-09-07 Thread sakshi jain
E_commerce website using django

On Sun, Sep 6, 2020, 03:01 Shishir Jha  wrote:

> Look for gothinkster in github
>
> On Sat, 5 Sep 2020, 10:20 pm Yogendra Yadav, 
> wrote:
>
>> Please suggest open source projects to learn subject combination
>>
>> --
>> 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/4af9efdc-1b3a-4170-93e3-403cc2b2e241n%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/CA%2BC7wFTiSdqFckigW%3Dq4kq6y4CK32MaEXg5XbLwHpgy6c4k8EA%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/CAJhs3iNbo%3DiP0pHNCX5wnJyznkuvaYSvXP5FbGvFw4uSb05pVA%40mail.gmail.com.


Re: How to Setup DjangoRestFrameWork with Mongo DB

2020-03-28 Thread Anh Nguyen
You can use Djongo or Django rest framework mongoengine.
But I highly recommend DON’T.

> On Mar 28, 2020, at 15:09, venna venkatReddy  wrote:
> 
> hey guys,
> 
> i am new to Django and Any one can guide me how to setup DjangoRestFrameWork 
> with Mongo DB,
> 
> My task is:
> 
> i need to create Api for data inserting and updating and delecting that data 
> must in mongodb, I previous work with sqlite3 and postgresql and mysql but 
> this is the first time to work with mongodb
> 
> 
> Please help, thanks
> 
> -- 
> 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 
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/03e4676f-8175-48a7-872c-e7e2223a8167%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/django-users/03e4676f-8175-48a7-872c-e7e2223a8167%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/52E35EC5-E7F0-4409-AAA0-1DF920D6420D%40gmail.com.


Re: How to Setup DjangoRestFrameWork with Mongo DB

2020-03-28 Thread VenkataSivaRamiReddy
i tried but not getting

-- 
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/CAGiJVX02pxupk5p1%2B%2Br393icjT9VgtpPLqRCxK-1AV1oo9BfvQ%40mail.gmail.com.


Re: How to Setup DjangoRestFrameWork with Mongo DB

2020-03-28 Thread Andrew C.
I highly recommend not using MongoDB. Sure, they can plaster a banner
saying “Google supports us” but many industry leaders have tried and failed
using it. It can’t store data that easily once you grow, making it unlikely
for usage in the future for employment by any startup or corporation and
for any realistic goal of scaling, too.

Use PostgreSQL’s NoSQL style with JSONB (JSONField) if you have to, and, if
you really need to index it, use a GIN index. Postgres is battle tested,
whereas Mongo is battle defeated.

I’d suggest you get to understand SQL vs. NoSQL first. Understand what’s
actually needed as an attribute and what isn’t. Most of the time, what you
think is non relational becomes relational. You can think partitioning and
sharding.

Sometimes you have to use NoSQL like with user profiles in which some
fields aren’t required. Use a JSONField, because I bet the REST of your
data is still relational.

Follow the general rules of why this works out. Not that people don’t use a
full NoSQL db like cassandra, but they use it for different use cases (like
throttling).

On Sat, Mar 28, 2020 at 4:28 AM VenkataSivaRamiReddy <
vennavenkat...@gmail.com> wrote:

> i tried but not getting
>
> --
> 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/CAGiJVX02pxupk5p1%2B%2Br393icjT9VgtpPLqRCxK-1AV1oo9BfvQ%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/CAJVmkN%3DDJXwTeA4YNY1HUUzMq9rBdkhNJtZFX-bOm23CH341ww%40mail.gmail.com.