Re: Best Django Rest Framework Tutorial??????

2020-06-11 Thread Mohamed SAMAKE
https://agiliq.com/blog/2019/04/drf-polls/

Le mer. 10 juin 2020 à 20:07, chaitanya orakala 
a écrit :

> which is best among all those channels
> ?
>
> On Wed, Jun 10, 2020 at 3:59 PM cosmos multi 
> wrote:
>
>> on youtube there are very good
>>
>> El mié., 10 jun. 2020 a las 14:40, chaitanya orakala (<
>> chaitu.orak...@gmail.com>) escribió:
>>
>>> Thank you jacklin
>>>
>>>
>>> On Wed, Jun 10, 2020 at 3:00 PM Jack Lin  wrote:
>>>
 DOCUMENTATION


 在 2020年6月11日 於 上午2:58:42, chaitanya orakala (chaitu.orak...@gmail.com)
 寫下:

 can anyone please respond ??

 On Wed, Jun 10, 2020 at 9:51 AM Sai  wrote:

> Hi djangoians,
> I want to learn django rest framework, may i please know which is best
> resource in online market or any youtube links or udemy courses???
>
> Thanks in advance.
>
> --
> 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/d8b89181-f0d9-4ee8-9f79-dedec63738d2o%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/CAPcTzRYC7UgBAE%3Dm47w74w7kx7JQEtt3ZGZ1naV%2B1tr4jiicYw%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/CAP7OQq11pVJOX6j6fZRHki2YVNiFE8w_yF_BAeFaCGf_mEhZdQ%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/CAPcTzRameZyEwswkSEvgn_txzHYnir-q%2B80SjeKxDSrqmotPVA%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%2Bt%2BYr3m5wAivA4hL3QX%2B9hTWTEB%3Ddiz-%2B8B8NSkQyKSnqQ%3DnA%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/CAPcTzRZbe3pxoGycbce18ykxbs9R18CEn7hybe%3DjxFHgDBYe5g%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/CAPVtpYiTieo-n9FJVN5ExxhO%2Bs5ocE3mXf8ksT1BaOyBmrLqrQ%40mail.gmail.com.


Collapsible list menu with Django

2020-06-11 Thread Yogendra Yadav
I want to have collapsible menu on my website of the style same as in the 
webpage 
https://www.investopedia.com/terms/t/technical-analysis-of-stocks-and-trends.asp
.

How can I do it in my Django webpage? Please help me in this

Thanks in advance!

-- 
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/96eca9c0-018e-4b86-b5f2-565732ee6a15o%40googlegroups.com.


Django Admin. Make custom fields from custom form in ModelForm readonly.

2020-06-11 Thread Maxven SkiLaren
I have such admin code:


class SomeModelAdminForm(forms.ModelForm):
custom_field1 = forms.CharField(...)
custom_field2 = forms.IntegerField(...)


class SomeModelAdmin(admin.ModelAdmin):

fields = ...
readonly_fields = ...

form = SomeModelAdminForm

def get_readonly_fields(self, request, obj=None):
ro = super(ProductAdmin, self).get_readonly_fields(request, obj)
if obj:
if obj.some_field is None:
ro.append('custom_field1')
else:
ro.append('custom_field2')
return ro

When I access the change form page of model, I am getting error

Unable to lookup 'custom_field1' on SomeModel or SomeModelAdmin or SomeModelForm


Is it a bug or I expect wrong behaviour from this code?

-- 
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/b427f377-5c3e-4a8a-a5e5-aec3168e3b0fo%40googlegroups.com.


Re: Collapsible list menu with Django

2020-06-11 Thread Kasper Laudrup

Hi Yogendra,

On 11/06/2020 08.31, Yogendra Yadav wrote:
I want to have collapsible menu on my website of the style same as in 
the webpage 
https://www.investopedia.com/terms/t/technical-analysis-of-stocks-and-trends.asp.


How can I do it in my Django webpage? Please help me in this



You don't use Django for this. This is purely frontend.

You can write this yourself using a combination of javascript and CSS, 
but I would probably look into using Twitter Bootstrap if I were you:


https://getbootstrap.com/

You can use this project to make bootstrap easily available in your 
Django templates:


https://pypi.org/project/django-bootstrap4/

Kind regards,

Kasper Laudrup

--
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/a1d691e8-3d4f-fe60-45b8-ed30310785f0%40stacktrace.dk.


Re: How to display calendar in django webapplication?

2020-06-11 Thread Perceval Maturure
check this one too
https://www.huiwenteo.com/normal/2018/07/24/django-calendar.html

On Thu, Jun 11, 2020 at 2:05 AM learn code  wrote:

> Thank you so much!!!
>
> On Wed, Jun 10, 2020 at 2:46 PM Miracle  wrote:
>
>> Check this project pinax calendars
>> https://github.com/pinax/pinax-calendars
>>
>> On Wed, 10 Jun 2020, 10:43 pm learn code, 
>> wrote:
>>
>>> Hi everyone,
>>>
>>> I'm working on a website. In that, I need to display available dates and
>>> timings dynamically. Anyone knows please help 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/6ac935a7-5602-4539-84dd-d746b943823do%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/CADZv-jC3odzF2ip-mqr2_avz9nF00g-v%2BorVF3Owjbq14KE8Vw%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/CAPUBRGVMxcvCb-mOSyBxy_hBVOxEL%2Bz%2B9_SYhiCouhkPq42q4Q%40mail.gmail.com
> 
> .
>


-- 
*Perceval Maturure*

*083 303 9423*

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


Re: Collapsible list menu with Django

2020-06-11 Thread Miracle
You need to use html and css or maybe boostrap to achieve that.

On Thu, 11 Jun 2020, 11:34 am Yogendra Yadav, 
wrote:

> I want to have collapsible menu on my website of the style same as in the
> webpage
> https://www.investopedia.com/terms/t/technical-analysis-of-stocks-and-trends.asp
> .
>
> How can I do it in my Django webpage? Please help me in this
>
> Thanks in advance!
>
> --
> 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/96eca9c0-018e-4b86-b5f2-565732ee6a15o%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/CADZv-jCTaaX71h5OgbCu7Neh%3DY51ofjBWec97eoUG7VeXdkfOQ%40mail.gmail.com.


How to access individual fields with of customised User model using AbstractUser?

2020-06-11 Thread Sandip Nath
I have defined a user model inheriting AbstractUser from 
django.auth.models. How can I refer to each individual fields of that 
customized user model? Say if I want to refer to date of birth of the 
customised user what should I write? I need to show the user prifile, so in 
show_profile.html file, I wrote :

first name = {{ settings.AUTH_USER_MODEL.first_name }}
date 0f birth = {{ settings.AUTH_USER_MODEL.dob }}

But it didn't work. Any idea?

-- 
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/72604294-4cd7-4951-9fc9-ddbafb53070co%40googlegroups.com.


Re: Best Django Rest Framework Tutorial??????

2020-06-11 Thread chalist
I like this channel. Maybe you like, too:

https://www.youtube.com/watch?v=XMu0T6L2KRQ

On Thu, 11 Jun 2020 at 15:04, Mohamed SAMAKE 
wrote:

> https://agiliq.com/blog/2019/04/drf-polls/
>
> Le mer. 10 juin 2020 à 20:07, chaitanya orakala 
> a écrit :
>
>> which is best among all those channels
>> ?
>>
>> On Wed, Jun 10, 2020 at 3:59 PM cosmos multi 
>> wrote:
>>
>>> on youtube there are very good
>>>
>>> El mié., 10 jun. 2020 a las 14:40, chaitanya orakala (<
>>> chaitu.orak...@gmail.com>) escribió:
>>>
 Thank you jacklin


 On Wed, Jun 10, 2020 at 3:00 PM Jack Lin  wrote:

> DOCUMENTATION
>
>
> 在 2020年6月11日 於 上午2:58:42, chaitanya orakala (chaitu.orak...@gmail.com)
> 寫下:
>
> can anyone please respond ??
>
> On Wed, Jun 10, 2020 at 9:51 AM Sai  wrote:
>
>> Hi djangoians,
>> I want to learn django rest framework, may i please know which is
>> best resource in online market or any youtube links or udemy courses???
>>
>> Thanks in advance.
>>
>> --
>> 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/d8b89181-f0d9-4ee8-9f79-dedec63738d2o%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/CAPcTzRYC7UgBAE%3Dm47w74w7kx7JQEtt3ZGZ1naV%2B1tr4jiicYw%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/CAP7OQq11pVJOX6j6fZRHki2YVNiFE8w_yF_BAeFaCGf_mEhZdQ%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/CAPcTzRameZyEwswkSEvgn_txzHYnir-q%2B80SjeKxDSrqmotPVA%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%2Bt%2BYr3m5wAivA4hL3QX%2B9hTWTEB%3Ddiz-%2B8B8NSkQyKSnqQ%3DnA%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/CAPcTzRZbe3pxoGycbce18ykxbs9R18CEn7hybe%3DjxFHgDBYe5g%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/CAPVtpYiTieo-n9FJVN5ExxhO%2Bs5ocE3mXf8ksT1BaOyBmrLqrQ%40mail.gmail.com
> 
> .
>


-- 

Django Philosophy and Queries

2020-06-11 Thread Yves de Champlain
Hi

I am wondering at some ways one can write a query in Django. Let's say for 
example :

Whatever.objects.filter(fk_object_id=fk_object_id)
Whatever.objects.filter(fk_object_id=fk_object.id)
Whatever.objects.filter(fk_object=fk_object)

and I could add to that list fk_object__id and fk_object__id__exact but my 
question is that while these syntaxes are equivalent in termes of results, 
one of them has got to be more efficient. I have read some posts about the 
subject, usually about optimizations, and could also guess that using an ID 
directly makes less behind-the-scene operations. On the other side, 
fk_object=fk_object surely looks more clean and concise to me.

I know I don't master the subtleties of all these syntaxes, but my question 
is why does Django not support only one (the most) efficient way of writing 
queries ?

Thanks for your thoughts about this.

-- 
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/15077d25-1460-4783-9339-7e0ce8d21259o%40googlegroups.com.


ModelAdmin Media assets with django 1.8

2020-06-11 Thread Amirouche Boubekki
Using Django 1.8, I do not understand what is the behavior of `Media` [0] 
inside a `ModelAdmin` subclass.

In particular, whether the default behavior of form's media is applied in 
`ModelAdmin` that is: `extend=True` [1]

I am under the impression that the behavior is implemented in 
`options.ModelAdmin.media` property [2], maybe there is more to it than 
that since it has a custom metaclass.


Thanks in advance !

[0] 
https://docs.djangoproject.com/en/1.8/ref/contrib/admin/#modeladmin-asset-definitions
[1] https://docs.djangoproject.com/en/1.8/topics/forms/media/#extend
[2] 
https://github.com/django/django/blob/6a0dc2176f4ebf907e124d433411e52bba39a28e/django/contrib/admin/options.py#L636-L649

-- 
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/1235108b-e561-4866-970e-f899c3c3acf3o%40googlegroups.com.


Re: Django Philosophy and Queries

2020-06-11 Thread Integr@te System
Hi Yves,

zen!
Nice.

On Thu, Jun 11, 2020, 9:27 PM Yves de Champlain  wrote:

> Hi
>
> I am wondering at some ways one can write a query in Django. Let's say for
> example :
>
> Whatever.objects.filter(fk_object_id=fk_object_id)
> Whatever.objects.filter(fk_object_id=fk_object.id)
> Whatever.objects.filter(fk_object=fk_object)
>
> and I could add to that list fk_object__id and fk_object__id__exact but
> my question is that while these syntaxes are equivalent in termes of
> results, one of them has got to be more efficient. I have read some posts
> about the subject, usually about optimizations, and could also guess that
> using an ID directly makes less behind-the-scene operations. On the other
> side, fk_object=fk_object surely looks more clean and concise to me.
>
> I know I don't master the subtleties of all these syntaxes, but my
> question is why does Django not support only one (the most) efficient way
> of writing queries ?
>
> Thanks for your thoughts about this.
>
> --
> 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/15077d25-1460-4783-9339-7e0ce8d21259o%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/CAP5HUWpFcb9HYy9sgOG%3DpKC0LsSn0J1a_nx51JNHz%3Di5u54f1A%40mail.gmail.com.


Re: How to display calendar in django webapplication?

2020-06-11 Thread learn code
Thank you!!!

On Thu, Jun 11, 2020, 6:18 AM Perceval Maturure 
wrote:

> check this one too
> https://www.huiwenteo.com/normal/2018/07/24/django-calendar.html
>
> On Thu, Jun 11, 2020 at 2:05 AM learn code 
> wrote:
>
>> Thank you so much!!!
>>
>> On Wed, Jun 10, 2020 at 2:46 PM Miracle  wrote:
>>
>>> Check this project pinax calendars
>>> https://github.com/pinax/pinax-calendars
>>>
>>> On Wed, 10 Jun 2020, 10:43 pm learn code, 
>>> wrote:
>>>
 Hi everyone,

 I'm working on a website. In that, I need to display available dates
 and timings dynamically. Anyone knows please help 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 view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/6ac935a7-5602-4539-84dd-d746b943823do%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/CADZv-jC3odzF2ip-mqr2_avz9nF00g-v%2BorVF3Owjbq14KE8Vw%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/CAPUBRGVMxcvCb-mOSyBxy_hBVOxEL%2Bz%2B9_SYhiCouhkPq42q4Q%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> *Perceval Maturure*
>
> *083 303 9423*
>
> --
> 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/CAFZtZmDuZZqjej4kdwLVhC62bMJdzJeTpbOSCbpqXrCMEFGSFg%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/CAPUBRGWyBCHC_%2BACTBt6h0O_JZinhmJdj5zBXZT_VnXX3udPyg%40mail.gmail.com.


Django, GraphQL and React Native

2020-06-11 Thread ndifreke umoren
Hello everyone. I am working on a React Native mobile app with a GraphQL 
endpoint I built using Python Django. Please I need help connecting the API 
with the client. 

-- 
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/250b31a2-b276-4d75-a93a-b1e004491e55o%40googlegroups.com.


GET

2020-06-11 Thread Bootleg Chef
Hi! I have a model - class Criteria(models.Model) - with 37 fields that are 
populated with data I scrubbed from the internet. I have a form - class 
FormName(forms.ModelForm) - that has each of the same fields as the model. 
I need someone to point me to documentation that explains how to create an 
html file and views.py that will help filter data in the model based on the 
user's preferences/inputs for each of the 37 unique fields in the model. 

Most of the tutorials for views on the web are for POST and not many are 
for GET. I don't need the code, just point me to where the documentation is 
so I can read about it.

Thank you in advance!

-- 
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/eab5b6ef-5977-4fc9-99b3-8a9526df3ee9o%40googlegroups.com.


Re: Reusable Chat Application for Django Developers

2020-06-11 Thread Evans Wahome
Hello Ahmed, After following the procedure this is what am getting

ModuleNotFoundError at /chat/chat/40635ad6-cd8c-4368-a6c7-cb2c4ad5c937/

No module named 'django_chatter.context_processors'

-- 
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/f6839614-0c9b-4b95-8e58-640f61052d85o%40googlegroups.com.


Re: Reusable Chat Application for Django Developers

2020-06-11 Thread Ahmed Ishtiaque
Hi Aldian,

I haven't gotten around to updating the docs, but the context_processors
module isn't necessary anymore. Someone else had posted an issue about
this: https://github.com/dibs-devs/chatter/issues/49 , and I'll try to
update the docs as soon as I can.

Best,
Ahmed

On Thu, Jun 11, 2020, 5:31 PM Evans Wahome  wrote:

> Hello Ahmed, After following the procedure this is what am getting
>
> ModuleNotFoundError at /chat/chat/40635ad6-cd8c-4368-a6c7-cb2c4ad5c937/
>
> No module named 'django_chatter.context_processors'
>
> --
> 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/f6839614-0c9b-4b95-8e58-640f61052d85o%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/CAKizqR5gZtuFyfqsYHOuW9rbLmREPET2fn8mG5rtzgzVcAyJ%3DQ%40mail.gmail.com.


Re: Django, GraphQL and React Native

2020-06-11 Thread Walid Kambagha
You can use Apollo the same way you’d use with React to connect to the API.

On Thu, 11 Jun 2020 at 22:21, ndifreke umoren 
wrote:

> Hello everyone. I am working on a React Native mobile app with a GraphQL
> endpoint I built using Python Django. Please I need help connecting the API
> with the client.
>
> --
> 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/250b31a2-b276-4d75-a93a-b1e004491e55o%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/CAGbq8nkojE2pDVA1tZF9aSS0dcVb%3DQch%2B8Q628uPoonJsfyEUQ%40mail.gmail.com.


Exception During Testing on Windows, Python 3.8

2020-06-11 Thread Matthew Pava
I continue to receive the following exception error at every single one of 
my tests. I'm running Python 3.8.2 on Windows 10.


Exception happened during processing of request from ('127.0.0.1', 54962)
Traceback (most recent call last):
  File "c:\program files\python38\lib\socketserver.py", line 650, in 
process_request_thread
self.finish_request(request, client_address)
  File "c:\program files\python38\lib\socketserver.py", line 360, in 
finish_request
self.RequestHandlerClass(request, client_address, self)
  File "c:\program files\python38\lib\socketserver.py", line 720, in 
__init__
self.handle()
  File 
"C:\...\.virtualenvs\HWohXs6h\lib\site-packages\django\core\servers\basehttp.py"
, line 174, in handle
self.handle_one_request()
  File 
"C:\...\.virtualenvs\HWohXs6h\lib\site-packages\django\core\servers\basehttp.py"
, line 182, in handle_one_request
self.raw_requestline = self.rfile.readline(65537)
  File "c:\program files\python38\lib\socket.py", line 669, in readinto
return self._sock.recv_into(b)
ConnectionAbortedError: [WinError 10053] An established connection was 
aborted by the software in your host machine



I've reviewed a few possible solutions found on the web, but they don't 
seem to help. Besides these exceptions, the tests actually do pass.
Thank you so much!

-- 
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/f4613b3e-2f69-4d07-acc5-85c6ae2128ado%40googlegroups.com.