Reputation: 23
Could you please help me find an example of a simple login page where the users can be authenticated using user/password from a database postgres or mysql(I can change that afterwards from mysql to PG )?
I googled for almost 1 week but wasn't able to find a django python example. I actually found a Flask example - and: that is exactly what I need - but not using Flask - I need Django.
Here the flask example I found: Flask_Example
In this Flask example is - most important : login window on the first place after starting of the web application, no TABs, no Navbar, no sidebar, no first click on a button "Login" and then login, nothing really nothing except a white blank page with a little login window in the middle of the screen where you can put your user and password and if the credentials are correct in the database, then you will be redirected to a simple page containing whatever inside. All that what I wrote here is exactly in that Flask example, but... I need a Django and no Flask.
There are so many professional people who are writing Django code examples... but there is nothing to find about so simple thing...
Can somebody give me an Django example, exactly that what is in the mentioned Flask link?
thank you and sorry for my bad english - I am from Austria best
Upvotes: 0
Views: 711