Posts by Micael Pereira • 36 points
5 posts
-
0
votes1
answer282
viewsA: Prohibit direct access to a URL (JS)
That kind of action you need to handle in your backend. It will redirect. Until pq it will validate the JWT token.
-
1
votes1
answer188
viewsA: End Date after Start Date Input Form
Jquery lets you control when Submit will perform the action, so you can validate the date before the Submit action is executed. Follow the code to make clear what I’m talking about: <!doctype…
-
0
votes2
answers159
viewsA: Django - No User Matches the Given query
2 things for you to check. Conflict of routes. If you have the admin in the INSTALLED_APPS tuple in Settings.py.
djangoanswered Micael Pereira 36 -
1
votes1
answer92
viewsA: How to return the redirect URL with js?
Hi, this is Florida, You need to give getReturn to getResourceName and treat this Function as promisse. Example: function redirecionarComNovaUrl(){ RetornaUrlFinal(url) .then(res => {…
-
0
votes3
answers1796
viewsA: Query in an SQL string in C#
How the people spoke the correct way is using Command. But what you want to do, it can be easier using string.format. Follow the example: string email, userName; email = "[email protected]"; userName…