Muflone
then it doesn't exist
Legend
How can I fix it ?
Muflone
How can I fix it ?
by using an existing template
Legend
I used the template before loading crispy, it was working, I wanted to add the crispy style to form
Muflone
don't trait the errors as your enemy errors are your ONLY allied while you develop errors are made to make sure you fix your error, so read them and it will tell you what template is wrong
Baba Yaga
👋. What should I learn with django for being a django developer? like drf, docker and...?
Eternity
👋. What should I learn with django for being a django developer? like drf, docker and...?
You should also know a database. The best choices are mysql and postgresql
Eternity
But you can also choose sql or another database. You choose
Baba Yaga
But you can also choose sql or another database. You choose
Thank you so much. is there anything else should I learn?
Charly
And where is the Django part?
Blackscorche
Hello does anyone know any telegram channel to learn django free
Blackscorche
Or any place I can get the django course
Doragonsureiyā
Hello does anyone know any telegram channel to learn django free
Check out PythonRes, a channel for Python resources - video courses, pdf books, tutorials and other info to help you learn Python.
Doragonsureiyā
Or any place I can get the django course
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Blackscorche
Which part would you recommend pls
Blackscorche
Which part of what?
Django from beginer to Prof I saw different links
Yazan
is gunicorn good for production?
ERMIA
Sat
Any Django-saml tutorial?
Noor
Any Django-saml tutorial?
Code with harry Geeks for greek
Noor
Web tech
Asukhan
hey! has anyone in here ever connected Django and React? if there's someone who has, please reach me out, I need your help! thanks in advance
Swapnil
This is my view which will going to handle event in html code
Swapnil
Now once I click Login button I want this javascript to make post request but as javascript is making get request so plz give me solution over it
Swapnil
https://dpaste.org/6RoXC
Swapnil
https://dpaste.org/RY7OZ
Noddy
Rather than windows.location.href
Noddy
Use this: fetch(url, {method: "POST", body: JSON.stringify(data)).then(res=>{console.log(res)})
Swapnil
I did it but it says csrf token is missing
George B
show ur code
from django.shortcuts import render # Create your views here. def index(request): return render(request, 'students/index.html')
George B
from django.shortcuts import render # Create your views here. def index(request): return render(request, 'students/index.html')
George B
show ur code
INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'students', ]
ROG 💻
Hello everyone, would you know why using the WeasyPrint library in my django project, even though I import the static files, it does not show the image in the generated pdf? I share the code of my view and the template in case someone can give me some tip
ROG 💻
https://pastebin.com/Qx90UwJU
ROG 💻
https://pastebin.com/MVTJf3y7
Some1
i am new to this group
Some1
i want to get help for my django . How to count the number of visitors of my urls
Some1
just create a endpoint that will display the number of visit of my django url
M7md🤍
Hello everyone, I have one question can I read csv file and display on front page?
AZAMAT 々
Hello everyone, I have one question can I read csv file and display on front page?
import csv from django.shortcuts import render def display_csv(request): with open('path/to/your/csv/file.csv') as file: reader = csv.reader(file) data = list(reader) return render(request, 'index.html', {'data': data})
Meme
Use panda
M7md🤍
Using panda might be better
You have video help me? And thanks so much
Anonymous
Andrew
Hey guys I need help I have made django project and I made a custom user model with abstractbaseuser & permissionmixin but when I add permissions to a specific user from the admin panel the permissions don't work I need help necessary please
Shaheen
Can possible to Store file data(not a path) in model ?
Charly
Can possible to Store file data(not a path) in model ?
You can but it's generally a bad idea to save that in the database.
vaseem cholakkan
Anyone used django unit test on drf, i had this strange error while running a test on a view, i had a syntax to get data from request with pop method . it was working perfectly. but only when i do call the view in a testcase with client object it shows error and says request querydict is immutable ,i know querydict is immutable so my question is why is it working on normal calls but not in testcase
vaseem cholakkan
you should use pytest
why not django test ? and do check my question
matija
pytest is better and its use is wisespread profesionally
An
Good morning everyone, can some one help me . I have this error ‘field 'numerodossier' expected a number but got ('2',) in django’
Andrew
No one can help you until you explain your difficulties.
Ok what I mean is that the user permissions doesn't work when I gave it to same user it just not work
ashu
Hey guys I have a normal doubt like if create a form in already made website I want to store the user information can I have to write any SQL query the database is MYSQL or the django is handle I have only create model only
Satyam
I am getting jsondecodeerror: expecting value line 1 column 1 char 0, While loading JSON which I received from request.data in djangorestframework
Anonymous
can you not disable "delete joined"
Nithin
Anybody have any an idea about linking static files in html
Nithin
How it's not working for me
Doragonsureiyā
How it's not working for me
Impossible to help without details.
Shreya
Guys what’s a multivaluedictkeyerror?
Maxim
Guys what’s a multivaluedictkeyerror?
the result of searching for a value by a key that is not in the dictionary
Shreya
Okayy do u know how to get rid of that I’m not sure how to
Andrew
Check sessions
How to do that