Posts by ElvisDba • 17 points
6 posts
-
0
votes1
answer26
viewsQ: Prevent change of subject matter in the relationship
Good afternoon, I’m trying to avoid altering an object when be part of a relationship, in my custom view.py worked out, but in the admin.py file an error occurs.. ha how to help me? view.py def…
-
-2
votes1
answer179
viewsQ: Reset password via RG Django
Good evening...I’m trying to make the user password recovery through the ID...but when sending the form with the ID... this error occurs. someone could help me? py. app_name = 'usuarios' urlpatterns…
-
1
votes1
answer129
viewsQ: Filtrar Foreign Key
Good afternoon...I’m trying to make a filter through Foreignkey, return only items that are not included in the registry of allocations, I’m using Select2...but I can’t filter... I have 3 models:…
-
-1
votes1
answer111
viewsQ: Save report to Django Excel with filter
Good afternoon...I made a function to export report in excel that worked, however comes everything that is in the database, I wanted it to be filtered...kindly someone could help me.... function…
-
0
votes1
answer111
viewsQ: Delete without giving error
I have two models, one has the foreign key in the other. I wanted to implement a delete, that would prevent her from deleting that key when she was already safe in a relationship. In the view.py I…
-
-1
votes1
answer52
viewsQ: Multiple models - three apps
Good evening dear... my TCC project, has three apps: classrooms, classrooms and allocate. I need to make class allocations in the rooms, after allocated I need to schedule a class boleano as…