Posts by Nicolas • 63 points
11 posts
-
2
votes3
answers208
viewsQ: How to configure Settings.py to use Django-tenant-schema?
I need to configure my Django to run llb django-tenant-schema My project does not create schemas and soon I cannot synchronize my bank with the project. I’m having trouble understanding how you are…
-
0
votes1
answer143
views -
0
votes1
answer304
viewsA: How to pull XML data from the "tag" using Filereader and Domparser? (Nfe)
There’s no way I’m going to unlock one xml <tag> for <tag>, then the correct one is to search directly to <tag> that is seeking, and if there is more than one, increase the [ ] of…
-
0
votes1
answer304
viewsQ: How to pull XML data from the "tag" using Filereader and Domparser? (Nfe)
What am I doing wrong? My intention is to save some information of an Nfe (take the tag data) from an XML, without having to do upload of the same nowhere. Head - <meta http-equiv="Content-Type"…
-
0
votes1
answer474
viewsQ: Error executing login() 'Anonymoususer' Object has in attribute '_meta'
I’m trying to log into an account of Django to redirect to the main page of my project, but the command login returns me the following error. AttributeError at /login/ 'AnonymousUser' object has no…
-
1
votes1
answer671
viewsQ: How to create a user with Abstractbaseuser or Abstractuser. (Login errors)
I’m trying to use my class Pessoa as a user in models.py. Meanwhile I tried to use AbstractUser and AbstractBaseUser. Both return me errors in the part where I try to log in, I tried several ways…
-
0
votes1
answer418
viewsQ: Personalized login in Django, what is the best way to improve?
At the moment I need to log in django.admin and login that I myself have created in a models.py | Class Pessoa. In this way it is not functional, because the admin needs to be logged in for a normal…
-
0
votes1
answer486
viewsA: Django.contrib.auth import views || Login Authentication and url redirection
path('login/', auth_views.LoginView.as_view(),name='login'), My problem was with the version of Django, when using the code in this way it works the way I wanted it to.…
-
0
votes1
answer486
viewsQ: Django.contrib.auth import views || Login Authentication and url redirection
I’m trying to use Django’s libraries to check if the user is logged in, and only then can he log into the pages of my website. I’m coding according to some Internet classes, in his example was…
-
1
votes2
answers964
viewsQ: How to send variables from one . PHP to another . PHP
Tela login.php, this is the main screen where the user logs in with CNPJ and password. <?php if( isset($_POST['username']) and isset($_POST['password']) ) { include('login.php'); //code is given…
-
1
votes1
answer43
viewsQ: Page does not permanently load with the . load (jQuery) command of my script (Javascript)
After I click on the element the inside of my Dasboard does not load the way I expected. Before clicking: It seems to me that the script cuts alone the .load since it loads the page for a second and…