Django Book 2 \\\

Source: Internet
Author: User

  The main models of the Django Framework are Mvt,model models, view views, template templates, based on the basic HttpRequest approach.

There are four types of databases that Django supports: Postgresql,mysql, oracle,sqlite3. (so you should focus on PostgreSQL at the moment)

1. New project: django-admin.py Startproject MySite, the new MySite directory has four files: __init__.py, manage.py, settings.py, urls.py.

2. Run the development server: Python manage.py runserver. (This is a built-in, lightweight Web service) (How about non-local IP access?) )

3.

  

Django Book 2 \\\

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.