Skip to main content
-2 votes
1 answer
47 views

I fill the Django form in contact.html file. But form data is not saved in database or another place. There is no error or warning while saving the form data. Form screenshot: Form screenshot. views....
cdemir's user avatar
  • 1
0 votes
1 answer
38 views

I have an issue rendering some select2 fields: When multiple forms with same select2 widget are used within a single template some select2 fields are not rendered as expected (rendered just as normal ...
Antony_K's user avatar
  • 196
1 vote
1 answer
104 views

[I'm sure my use case has been addressed somewhere, but I'm not finding it.] In this use case, the user is registering a new person with the following fields: first name, last name, and birthday. If ...
Mike's user avatar
  • 87
0 votes
1 answer
99 views

I have a basic CustomUser model in my project. When I want to update it I fill my form with instance where I try to make user's password null, but anyway in the form I receive: "No password set. ...
user737082's user avatar
1 vote
1 answer
72 views

I want to submit a form to my backend and use the form data as the initial value for my form. Simple stuff if you are using a POST request: def intervals(request, **kwargs): form = MyForm(initial=...
TeaDrinkingProgrammer's user avatar
1 vote
1 answer
47 views

I am trying to place two independent forms on one template. I have them placed but there is a problem that both forms are being checked. Validation of both forms is being checked. Although I only have ...
Денис's user avatar
1 vote
1 answer
22 views

Good day! I have two tables - models. I fill them gradually. First I have the first table. First I enter data into the first table. And there - in the first table I have - repeating data. Field - (...
Pinifarina's user avatar
0 votes
0 answers
24 views

I'm using CKEditor in my Django project to allow users to submit rich text content. However, I'm encountering an XSS alert when testing with code like: alert('hello') To prevent this, I used the ...
Amrita Kushwaha's user avatar
0 votes
1 answer
55 views

Is it possible to somehow adapt something similar to my problem? I would like a list to appear in the form based on data from another list Select from the second field - filtering data - (contents) ...
Den Silinskii's user avatar
2 votes
1 answer
67 views

I have a form with OneToOneField where data is loaded from another table model. But I often have large data sizes there and the displayed text does not fit into the window size. Is it possible to ...
Ridsen's user avatar
  • 41
1 vote
1 answer
39 views

I have two table models. I write data to one of them using a form. I also want to write data to the other model table using a form. But I'm trying to link these tables. Use the first one as a base. ...
Ridsen's user avatar
  • 41
1 vote
1 answer
53 views

Here is my forms.py code: from .models import User class userRegistrationForm(forms.ModelForm): password = forms.CharField(widget = forms.PasswordInput()) confirm_password = forms....
ADAN SHAHID's user avatar
1 vote
1 answer
46 views

I am new to Django and currently learning and I have encountered a problem that I just can't seem to solve. from django.shortcuts import render, redirect from django.contrib import messages from ....
sssvvv's user avatar
  • 21
3 votes
0 answers
160 views

I have a Django admin page which allows me to edit a model in my domain. The ModelAdmin looks like this: @admin.register(models.VehicleTemplate) class VehicleTemplateAdmin(ModelAdminBase): ...
Goulash's user avatar
  • 3,886
0 votes
1 answer
96 views

I am creating an information system in which some entities have separate attributes or a set of them, for which it is necessary to store a history of changes with reference to the date of their ...
Mike Winny's user avatar

15 30 50 per page
1
2 3 4 5
1341