Django writes a login interface with eclipse

Source: Internet
Author: User

    • Eclipse installs the Python plugin and the Django steps are omitted directly.

  

    • Create a demo step

Direct

  

  

  

  

(Remember to run a direct stop, the report of the error can be ignored.) Of course, this console can also enter the account and password, I have tested, the console entered the account and password fully logged in

, and reported a wrong password. The novice still doesn't know how to solve the problem. )

  

    • Create database tables and login fields

    

# python manage.py createsuperuser ' Root ' ): AdminEmail address: [Email Protected]password:password (again): Superuser created successfully. [[email protected] HelloWorld] #

    

Once you've created your login account and password, you're ready to run the demo.

Direct right-click program->run AS

    • Access pages and sign in

 Access Address:

http://127.0.0.1:8000/admin/

Landing page

The page after successful landing

There will be new articles in the back, I will continue to learn to share

Django writes a login interface with eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.