Re: Project together

2023-12-07 Thread Brian Gitau
Also add me +254715790096 On Thu, Dec 7, 2023 at 11:51 AM Abdulrahman Abbas wrote: > I'm interested add me up 09020387775 > > On Thu, Nov 23, 2023, 19:13 Youssef Bachraoui > wrote: > >> Hi developer i search to make a group on WhatsApp to begin a project >> together anyone interested about

Re: any any help me to solve below error in my django project

2023-08-07 Thread Brian Gitau
change the naming of the urls like for the login from "login" to something like "login_page" because you are causing a clash in the views.py code since you are importing login and your url name is the same rename the logout too hope that helps On Mon, Aug 7, 2023 at 2:40 PM AKHIL KORE

Re: dynamic django tables

2023-05-21 Thread Brian Gitau
dynamic_model = type(table_name, (models.Model,), >> dynamic_model_attrs) >> >> # Create the database table for the dynamic model >> with connection.schema_editor() as schema_editor: >> schema_editor.create_model(dynamic_model) >> >> # Regi

Re: dynamic django tables

2023-05-19 Thread Brian Gitau
which code do you have or you want the code example explaining everything? On Fri, May 19, 2023 at 3:59 PM Helly Modi wrote: > How to create dynamic models in django rest framework? > > Is there any chance to create dynamic models with APIs > > > > Any examples please send me thanks in

Re: django windows authentication

2023-05-19 Thread Brian Gitau
Hello! Windows authentication is a method of authenticating users based on their Windows credentials. It allows users to log in to a system using their Windows username and password, eliminating the need for separate authentication mechanisms. In Django, you can integrate Windows authentication

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: 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: 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: i need to learn more on django

2023-05-11 Thread Brian Gitau
also youtube will go a long way if you can't understand the documentation that well i suggest you watch and code along with dennis ivy https://www.youtube.com/@DennisIvy On Fri, May 5, 2023 at 7:48 PM Naomi Gentle-idyee wrote: > i just got started on django and though it looks complicated, i