Posts by Bianca C. • 311 points
22 posts
-
0
votes0
answers49
viewsQ: Load one tab into another
I have a layout page where I want to upload information to the notifications button. For this, I made an action in the controller to return a Partialview where a query will be made in the bd looking…
-
0
votes2
answers44
viewsQ: Alert de Sucesso
I have a modal to mark friends, when the user clicks to mark, I call the onclick that makes the request to the controller. I want to send a message of success to the user, I have a div with None…
-
1
votes1
answer2136
viewsQ: Download File on Asp net mvc
I have files that were uploaded to wwwroot/files/ folder of my project. I want to download these files but when I click on the button nothing happens. public ActionResult DownloadFile(string…
-
0
votes2
answers2615
viewsQ: Password Validation with Python
I have the following requirement to validate a password in the register: Size: 10 characters Capital letters: 2 Lower case: 2 Number: 1 Symbol: 2 How do I check with python? So far I’ve only been…
-
0
votes2
answers469
viewsQ: Show and hide according to another event
I have 2 show/hide buttons from 2 groups: group1 and Group2.When I click to open the group1, for example, it opens a card with information from that group and when I click hide it hides. So far so…
-
0
votes1
answer342
viewsQ: Row number in table
I have a table and I want that when you click on the info button, the next row information appears (which is hidden). To do this you would have to take the value of td that I clicked and enable with…
-
2
votes1
answer906
viewsQ: Customize Django Admin
I have two classes, one is Division and the other is Group. In the group I have FK for division. I want to register a Storage in the Django Admin and in the Group select I want the group and…
-
0
votes1
answer154
viewsQ: Looping jquery grab button value and put on label
My dears, I have a table of users, and for each user I have a button that opens a modal: {% for item in lista_usuarios %} <tr> <td>{{ item.first_name }}</td> <button…
-
1
votes2
answers48
viewsQ: Pass value from one page to another’s input
i have an html page where the user type in the email and I perform the check. If that email is not in the database, it is a new user and therefore redirect to the registration page. On the…
-
1
votes1
answer45
viewsQ: Id from the inserted email
I have a form with only the email label for the user to fill. If the email already exists I want to redirect it to the edit page. How do I get the user id from the email he typed? I did a test as…
-
1
votes2
answers658
viewsQ: Pass button value to modal
I need help with the javascript code, I’m new and I’m not really sure what the syntax is. What I need is to take the value of this button and play on the id_usuario label, as I do? <button…
-
1
votes0
answers728
viewsQ: Get modal data from Django
I have a list of customers on the screen of the responsible person, in case he presses to deny the client, opens a modal with the field Reason for him to fill. I want to take what was typed in this…
-
1
votes1
answer613
viewsQ: Login to Django
I have a login page, I need to check who’s logging in, Example: if you are responsible for group A, direct to the page with all users of group A, if you are responsible for group B, to the page of…
-
1
votes0
answers246
viewsQ: Sending email picking up data FK Django
I have group and profile, in my register the person chooses the group and this group has the responsavel_id, I want to pick up and send a confirmation email to the responsible of that group that the…
-
1
votes1
answer48
viewsQ: How to change is_staff when I click href?
I have a table with users in HTML with id and name, by default when register a person it comes with is_staff=False. I want when I click the Authorize link to switch to is_staff=True, how do I do…
-
0
votes2
answers878
viewsQ: Get data from Django view
When registering a new user he chooses which group he is part of through a select. Each group has a responsible person, how do I get the email of this responsible person to send an access request…
-
3
votes1
answer91
viewsQ: How to call the id of the previous select
I have two selects, one for division and the other for groups. When the division is selected it has to bring in the second only the groups that are part of that division. In the url variable that…
-
1
votes1
answer957
viewsQ: Take input from view
I have a form with the inputs: email, name and surname. The email will always have a defined format, so I want to take the elements and make it fill automatically in the other fields, example: User…
-
0
votes1
answer563
viewsQ: Send form Django
I’m new to python and I’m trying to register, when I click to send nothing happens, no post py views. from django.http import HttpResponse from django.shortcuts import render from…
-
2
votes1
answer1920
viewsQ: Redirect to another page in the Django view
I’m learning Django now and the idea is this: I have a registration form only with the email, when this email is filled and the user click send, I need the view to direct to the other page where the…
-
0
votes1
answer717
viewsQ: Select widget in Django does not appear in the form
my signup page is not showing the selection fields, my code is as follows: Forms.py class InscricaoForm(forms.Form): VINCULO = [ (u'b', u'Bolsista'), (u'e', u'Estagiário'), (u't', u'Terceiro'),…
-
1
votes1
answer84
viewsQ: Can I extend the admin form to my page?
I have a form created and displayed with the admin the way I want...but it is a site to fill out user registration, so the user does not have access to admin, I want the admin form to be used…