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 am
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
>> The
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__'
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 n
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 us
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 advance.
ield_class=models.BooleanField()
>> else:
>> field_class=models.EmailField()
>> dynamic_model_attrs[field_name]=field_class
>>
>>
>> dynamic_model = type(table_name, (models.Model,),
>> dynamic_model_attrs)
>>
>>
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 wrot
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 that
9 matches
Mail list logo