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

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

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

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

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 >>

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 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

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 >>

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

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

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) >

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: >>

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

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

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

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,

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

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