ps
Bobosher
Hi guys, unusual situation with me. I've changed my css file but no change on my browser. I've even deleted all my css codes, but it's still working .
Kr0m
Try to delete browser cache
Kr0m
You are welcome
pranit
Hello everyone, I am trying sso login in Django project, can anyone pls help me out
Dev
Prithi
Hello everyone, I am facing the issue 404 server not found error while connecting django rest-framework API with react js, can anyone kindly help me out
Nikhil
GodKiller
Can anyone guide me how to create rest APIs for my DL model using DRF?
Abdulloh
Hi everyone
How can I use static image in for loop
I have tryed like this:
<img src="{% static "/images/"+ product.id +".jpg" %}" />
But syntaxerror
Abdulloh
for product in products
Akhil
Anonymous
Dev
Dev
yes
Create class profile
And make relationship with class user in django and add more fields to profile for example image , age , ..etc
sunny
cj
Mukhil
any sample for
data entry form in django
Doragonsureiyā
Resources for learning Django..i m new here
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Nurgazy
Hello guys
Nurgazy
I need django notifications
Nurgazy
How i can use django notifications for mobile devices!
Nurgazy
I can't find
Nurgazy
Because I'm asking!
Doragonsureiyā
I can't find
Try harder until you get what you want!
don't give up! 🦾
Bhashkar
anyone can tell which one is best approach for django project -> wsgi or asgi
cj
cj
but keep in mind that Django is not totally async ready yet
virtualenv
https://dpaste.org/SuKp#L8
hi. i want to update a model field in pre_save signal. this is not whole of my code but i have to do in this way. thanks for your attention.
Morteza
hi, i created a normal django ModelForm and it was work perfectly until i tried to add progress bar for files uploading, i have an issue, i receive the data twice! but i is save the data only once in database, so also it is work, but i know i have a mistake in my code and i want to understand my mistake
Morteza
Morteza
i searched in google many times, but i coulden't get the solution of my problem in there, can i provide a picture of my code? or i should copy paste it here?
Doragonsureiyā
Morteza
Morteza
Mendes
Wait a minute, I will look into it
Anonymous
https://dpaste.com/2D6KR4H5Z#wrap
Anonymous
Anonymous
https://dpaste.com/47KPMAKAL
Anonymous
Morteza
Anonymous
hey, Im currently using the bootrsap_datepicker_plus widget for a modelform. I get the correct date format in the datepicker, but when i click the 'submit' button i get the error 'Enter a valid date.', How can i fix that?
Morteza
Anonymous
in forms : widgets = {'date': DatePickerInput(attrs={'class': 'form-control', }, format='%d-%m-%Y'),}
Anonymous
in models: date = models.DateField(blank=False)
Farzin
I want to make a like/ unlike system with django rest api, when user click on like button for first time it will like the post and when user click that button again it will be unliked, and finally I need to return the number of likes for every post, and the user's list that liked the post. I saw some examples from stackoverflow but they are all legecy.
Abhishek
Hi everyone!
I am making a website which allow user to access packages like 1st package 2nd package and 3rd package each one have respective subject with their respective exams
Abhishek
I want to make a model and how i will fetch those data according to the package on the subject page
Faisal
Abhishek
But I want fetch the data which the student have purchased
Faisal
Then use the fillter
Abhishek
If I have used foreign key of A in model B then how will I get the table of a created the table B
Faisal
Foreign keys are defined in models
Faisal
Study the QuerySet
Faisal
Also study django shell
Faisal
Make queries over there and then implement in your views
Deleted
https://stackoverflow.com/questions/65318280/could-not-enter-into-if-condition-if-request-method-post
Deleted
need your help guys, thanks
Faisal
What the error its shows
Deleted
no error
Faisal
Use Form.py
Anonymous
When developing a web. That time you run the link and it's responds 'site can't be reached' what is usually wrong?
Mirco
Anonymous
What should I do about the port and the proxy
I m yr
How to deploy django website
Mirco
Doragonsureiyā
How to deploy django website
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
Mirco
I m yr
Ok
Faisal
Use corey Schafer YouTube channel for guidelines
I m yr
عــمــر
How can i edit the form data , when i try its show error message “ this querydict instance is immutable “
عــمــر
form.data