python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Custom labels - Django auth user model - ModelForm
I'm trying to set custom labels for a UserCreationForm in Django. I've tried to follow the docs and searched on here. Only the first label changes via the labels dictionary I created. org.label at the...
A Ali
Votes: 0
Answers: 1
I'm trying to input data, save it and display it in my view page. I'm not sure what I'm missing
I'm writing a simple product input app, where a user can input their product details, save it in the database and view it in another page. Everything seems to be going fine, no error messages when I r...
Christian Fuh
Votes: 0
Answers: 2
How to assign new value to a ModelForm field which form edits user data, to test if the data will be edited Django test TestCase
I'm testing Django forms handling and trying to test a ModelForm, which form edits the user's data. I tried to write the test in several ways, but each one throws different mistakes. And all the mista...
Radoslav Hadzhiev
Votes: 0
Answers: 1
Django write Q filter based on the Form elements
I would like to write django filter for the following scenario.
CASE : I have 4 checkboxes box1, box2, box3, box4 and a submit button on my HTML page.
I have written model post with 6 fieldd where 4 f...
sulabh
Votes: 0
Answers: 1