Django huge subject based on ur project u will get more knowledge
Someone
Hi, am trying to make csrf exempt for password reset default view.. I have override the dispatch method.. But it's still giving, csrf verification failed 403 error
Someone
Any idea how I can fix that?
Someone
I am trying to fix this for now like 7 hours, if anyone have any idea plz help
Guys I need help...
I want to create an id which contain Alphabet+auto generate numbers
For example :
ABC1
ABC2
Someone
@hashlash Ravindra I have just created a new view with csrf exempt, it just took 15 min. i should have did this long back, instead of spending time to fix for last 7 hours. :(
Id = Models.charField(unique=True);
Then DON'T SAVE THAT DIRECTLY. (Form.save)
Rather, Make generateID() in views.py
And insert that field with custom query for example :
Table.objects.create(id=generateID, ect=ect);
Step 1: Open a browser
Step 2: Write down https://google.com or https://duck.com and press Enter
Step 3: In the search box, write down the same words you asked here
Step 4: Read the first results
Gio
hello, does anyone know how to get the raw body of a request in django rest?
I need to verify the signature in this way:
t, v1 = [value.split('=')[1] for value in request.headers['Signature'].split(',')]
computed_digest = hmac.new(secret.encode(), (t + '.' + request.body).encode(), 'sha256').hexdigest()
problem is that this gives me:
can only concatenate str (not "bytes") to str
since request.body is not a raw json string
can help me to create multiple tables using single model class
Akil
I need to create 50 tables with same fields ... how can I do this dynamically
Akil
😢
Akil
Do anyone idea about this
Anonymous
Please I have a question
Anonymous
When I use bootstrap together with my templates it doesn't render. It doesn't use use the bootstrap style but when I create a normal html file and place the link of bootstrap in it, it renders out fine.
Please I'm using bootstrap locally
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Akhil
There are also some I can't understand like &,&amp