Want to use django+ bootstrap write a website, what comparison system Complete book or video can refer to?

Source: Internet
Author: User
Tags django tutorial
Not limited to Chinese and English.
Add: I am writing now is django+flatpages, feel the front-end interface is not very good, see Bootstrap as the front end will be more beautiful, but do not know how to integrate into Django, want to find some of this information, to recommend some

Reply content:

How to Tango with Django:a Python Django Tutorial Exactly what you want.

    • Based on Django Latest version 1.7
    • Based on creating a site instance, step-by-step
    • For beginners, even the end use of teaching you (embarrassing)
    • Auxiliary official tutorials, each section corresponds to the part of the Django Official manual and gives the link, while doing so in order to see the Official Handbook Best

The general content is based on an example to make a webapp, almost include all the steps to build the station, is also very detailed.

This is the translation of Tango with Django Chinese document and translated a large part. Remember there is a book called The Scoops of django:best practices for Django 1.6 This is a good introduction. 2016-1-13 03:57:52 Update

Before always said to read the code things, feel now in the online many tutorials are some code or feature fragments, not a complete project for everyone as a reference, GitHub on a lot of open source projects are too bloated, not suitable for beginners to learn.

So there is always an idea is to reconstruct the previously written project so that it becomes a suitable for beginners reference project, in the beginner to see a variety of tutorials at the same time can also be modeled after the project code to consolidate learning.

Recently reconstructed the Yumendy/librarymanagement GitHub This project was written with the latest Django1.9.1. The main realization of a simple book management system.

function implementation
* Implementation of user rights related basic operations (registration, login, change password, logout)
* User ratings are implemented (normal and admin users)
* Administrator account: Yumendy Password: admin.
* Administrators can add books
* Administrator can add book pictures
* Any user can view and retrieve books
* The list of books is changed with the added books.
* Search support for fuzzy retrieval of book names.
* Pages of books are 5 pages per page.
* The search box is automatically submitted for 1.5 seconds from the last button.

Detailed project description can be viewed librarymanagement/readme.md at Master Yumendy/librarymanagement GitHub

This project is mainly for beginners, so many implementations do not choose the simplest method of implementation, and choose the method commonly used by beginners.

For children's shoes that already have a part of Django development experience, I would like to have another project with Amway, Yumendy/communitymanagement GitHub Based on the combination of a small community management system development, this project has not been completed, this time is still in follow-up, because it is a complete modular development, most of the finished plug-ins are already confirmed to be available. This project is more mature than the above project, and the code organization is closer to the actual major projects. The main use of Class View development. In order to be able to better develop, in the process of development read a lot of source code, some methods, fields on demand to be overloaded.

In short, that's what this is about. If you think my project is going to help you, please click here for more Django people to see, or Star for me on GitHub, your encouragement is the driving force of my progress.

Thank you ~ Meow ~ ~


======== Split Line =========
My project is basically Django + Bootstrap ... If you are interested in reading the code, it is a relatively simple project.
Yumendy/librarymanagement GitHub
Yumendy/eaterymaster GitHub Don't think too much of it. This is my welcome visit letflysite Blog Source letfly/letflysite.com GitHub Follow the steps above and try to change it. Since everyone is here, it is necessary to amway my project Github-allianzcortex/cortexforum

The starting point when doing this project was:

One of the most vexing problems in the process of learning Django is that there is no good practical project to help people understand. Django's documentation is the best standard for documentation, from typography to use cases, but even if you make notes on your own, the same day and after one months of consolidation, the actual use is still stranded. Recommended as Fairybbs when writing a form, or using request. Post.get () to get the data on the page, the forum is to write the request's get and post notation separately in two views, adding a lot of burdens. And all of the files are in a large app that doesn't meet the low-coupling features.

By contrast Flask has flask-web development Book as a Primer, and has June to help in-depth as a concrete project of maturity.

The dizziness and confusion that happened to be seen recently in the papers on the completion of the study (:--, So there's the idea of writing a forum with Django best practices. In the process of writing cortexforum, I try to achieve the following points:

  • Flags the document module used in the code and the corresponding specific usage to facilitate the search

  • The section with so in the callout indicates that it is very common and has related problems on the StackOverflow (such as the lookup field in Query_set ())

  • The parts that have multiple workarounds are written in comments (such as Objects.filer (). Update and Instance.save (), such as handwritten HTML or crispy-forms/django-bootstrap3 Such a plugin)

  • Using the Gitbook format as a wiki, there is a general overview of forum Design


While writing, I took into account a lot of Django features (probably in addition to Cbvs, but Django officially admits that FBVS is still the mainstream:-^^), the template is bootstrap, the results are as follows:

wow haha, welcome star,fork, mention issue, mention PR oneself set up a film information site, mainly want to learn Django to this, the first is to crawl the information of the film, and then displayed on the site, mainly include:
1. Film display, which is the focus, screening, search;
2. The film problem is the question of asking for seeds;
3. Online chat function, this is not perfect good, only chat online;
4. User basic information management, login registration, etc.;
Demo Address: / http 121.42.156.185:8000/get movielist/ (Domain name does not record hey.) will be on it, about 3w more movies, can play about 16000)
GitHub Address: https:// Github.com/pureyun/dnom Ovie Bootstrap added to Django don't need to read any books. Just put the CSS in the static.
It is recommended to use HTML plus bootstrap to write the static page, and then use Django dynamic words on the line.
The best document for these two things is the official tutorial to learn Django before learning Bootstrap
Django Look at the Django book , a step-by-step study, the site came out, and then put Bootstrap in use on the line, is a front-end just
Bootstrap direct crossing net on the line, Bootstrap Chinese network It is a natural thing to suggest that you study separately and then close together.
First say bootstrap, in the technical teaching good video should be the Udacity intro to HTML & CSS, the content is very close to industry, after reading the introductory video can be used to do some basic web design, recommend to get PS map, and then apply , check out the official documentation more.
Django is just one of many back-end frameworks for Web sites, because ORM is very useful and now very popular, now has been updated to 1.8 version, but many of the tutorials are still 1.7 ago, a period of time Daoteng over Sinaapp cloud services, the version is still 1.4, the previous article has friends mentioned how to Tango with Django is really a good primer. It is then recommended to read the official documentation directly. I am very much advocating for test-driven development, known as TDD, and it is recommended to look at the book test driven development with Python. Bootstrap has a lot of open source topics, such as Bootstrap Zero , apply these themes to your Django template.
  • 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.