google auth and context

2023-05-18 Thread Carl Karsten
This works, mostly: https://github.com/CarlFK/veyepar/tree/master/dj/googauth when a person grants access, their browser is redirected back to the 2nd view. And all that stuff in the readme happens. but, If I wanted to save something to the db, even a "token received" flag, I don't have a

goog auth and context

2023-05-18 Thread Carl Karsten
I have this code that does google auth: https://github.com/CarlFK/veyepar/tree/master/dj/googauth when a person grants access, their browser is redirected back to the 2nd view. (good)... How can that view get the context? like what url (which includes client.id) kicked off the process? like

Re: Navbar

2023-05-18 Thread Michael Edet
Yes On Thu, 18 May 2023, 13:38 tintu john sam, wrote: > you have add the css and js links to your main html file.. > > On Thu, May 18, 2023 at 11:44 AM Michael Edet wrote: > >> Please help >> >> On Sun, 14 May 2023, 18:17 Michael Edet, wrote: >> >>> I have been having issues with my navbar

Re:

2023-05-18 Thread 5PM
No On Fri, May 12, 2023, 10:36 AM Karthik V A wrote: > Hello friends, Is there any inbuilt function in django for API. Without > using REST framework and request. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from

FYI: Django Supports Sessions By Default

2023-05-18 Thread Chetan Ganji
http://cryto.net/~joepie91/blog/2016/06/13/stop-using-jwt-for-sessions/ Regards, Chetan Ganji +91-900-483-4183 ganji.che...@gmail.com http://ryucoder.in -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: i am getting this error when i try to search in admin panel

2023-05-18 Thread Brian Gitau
The issue lies in specifying ForeignKey fields (state, district, and taluka) within the search_fields. ForeignKey fields cannot be searched using 'icontains' because it requires a direct string comparison. Instead, you can search based on the related field's attributes. To resolve the error, you

Re: Navbar

2023-05-18 Thread Michael Edet
Ok Sent from Outlook for Android From: django-users@googlegroups.com on behalf of Brian Gitau Sent: Thursday, May 18, 2023 9:05:38 AM To: django-users@googlegroups.com Subject: Re: Navbar atleast give us your code sample On Thu, May

Re: Navbar

2023-05-18 Thread tintu john sam
you have add the css and js links to your main html file.. On Thu, May 18, 2023 at 11:44 AM Michael Edet wrote: > Please help > > On Sun, 14 May 2023, 18:17 Michael Edet, wrote: > >> I have been having issues with my navbar and I'm using bootstrap >> >> The first one is what I want >> The

i am getting this error when i try to search in admin panel

2023-05-18 Thread Ravindra Magar
i am getting this error when i try to search in admin panel FieldError at /admin/school/center/ Unsupported lookup 'icontains' for ForeignKey or join on the field not permitted. admin.py @admin.register(Center) class CenterAdmin(ImportExportModelAdmin, admin.ModelAdmin): list_display =

Re: Difficulty Rendering a Form

2023-05-18 Thread Brian Gitau
create a forms.py file add into the file import from django.forms import ModelForm from .models import * #the asterisk means you are importing everything from the models class name_of_form(models.ModelForm): class Meta: model = your_model fields='__all__'

Re: Difficulty Rendering a Form

2023-05-18 Thread ALBERT ASHABA AHEEBWA
Hi Mike, Ammar was just trying to answer a question given so limited information. With that in mind the best he could do was send you to the documentation. There was no need to be rude. If you need any help, show what you have done, then show what you want done or desired outcome. Then people

Re: Navbar

2023-05-18 Thread Brian Gitau
atleast give us your code sample On Thu, May 18, 2023 at 9:13 AM Michael Edet wrote: > Please help > > On Sun, 14 May 2023, 18:17 Michael Edet, wrote: > >> I have been having issues with my navbar and I'm using bootstrap >> >> The first one is what I want >> The second one is my outcome >>

Re: Navbar

2023-05-18 Thread Michael Edet
Please help On Sun, 14 May 2023, 18:17 Michael Edet, wrote: > I have been having issues with my navbar and I'm using bootstrap > > The first one is what I want > The second one is my outcome > The last file is my code > > Please I need response? > -- You received this message because you are