If you want to use Django + Bootstrap to write a website, which books or videos are relatively systematic and complete?

Source: Internet
Author: User
Tags django tutorial
Not limited to Chinese and English. question added: I am currently writing Django + flatpages. I feel that the front-end interface is not very good. I can see that the front-end of Bootstrap is more beautiful, but I don't know how to integrate it into Django, if you want to find some information in this area, I would like to recommend some documents in Chinese and English.
Question added: I am currently writing Django + flatpages. I feel that the front-end interface is not very good. I can see that the front-end of Bootstrap is more beautiful, but I don't know how to integrate it into Django, if you want to find some information in this regard, please recommend some reply content: How to Tango with Django: A Python Django Tutorial Fully compliant with your requirements

  • Based on Django's latest version 1.7
  • Create a website instance step by step
  • This is intended for new users. I have taught you how to use the terminal)
  • Assists with the official tutorials. Each chapter corresponds to the section in the Django official manual and provides links. It is best to read the official manual.

The general content is to create a webapp based on an instance, covering almost all the steps for building a website, which is also very detailed.

This is the translation of Tango with Django Chinese Document I have translated most of them. I remember this book called Two Scoops of Django: Best Practices For Django 1.6. This is a good start. 03:57:52 update

I have been talking about code reading before. I feel that many tutorials on the Internet are snippets of code or functions. I don't have a complete project for your reference, many open-source projects on GitHub are too bloated and not suitable for beginners to learn.

Therefore, I have always had the idea of restructuring the previously written project to make it a project suitable for beginners to refer, when reading various tutorials, beginners can also follow the project code to consolidate learning.

Recently restructured yumendy/LibraryManagement · GitHub This project is written in the latest Django1.9.1. It mainly implements a simple library management system.

Function implementation
* Basic operations related to user permissions (registration, login, password modification, and cancellation) are implemented)
* User Classification (common users and administrator users)
* Administrator account: yumendy password: admin.
* The administrator can add books.
* The administrator can add a library image.
* Any user can view and retrieve books
* The book category list changes with the added books.
* Fuzzy search of book names is supported.
* The number of books on each page is 5.
* The automatic submission time in the search box is 1.5 seconds from the last button.

For detailed project description, see LibraryManagement/README. md at master · yumendy/LibraryManagement · GitHub. .

This project is mainly intended for beginners. Therefore, many implementations do not select the simplest implementation method, but the methods commonly used by beginners are selected.

For children's shoes that already have a piece of Django development experience, I would like to introduce Amway to another project, yumendy/CommunityManagement · GitHub. A small community management system developed based on the combination mode. This project has not been completed yet and is still being followed up during this time. Because it is completely modular, most of the completed plug-ins are confirmed to be available. This project is more mature than the above project, and the code organization form is more close to the actual large project. It mainly uses Class View development. For better development, many source codes are read during the development process, and some methods and fields are reloaded as needed.

To put it simply, it is the content. If you think my project is helpful to you, please give me a thumbs up to let more people learn django, or give me a star on GitHub, your encouragement is the motivation for me to move forward ~

Thank you ~ Xiaoxu ~~


====================
My projects are basically Django + Bootstrap... Read the Code if you are interested ~ Most of them are relatively simple projects.
Yumendy/LibraryManagement · GitHub
Yumendy/EateryMaster · GitHub Don't think too much about it. This is my welcome to LetflySite. Blog source code: letfly/letflysite.com · GitHub Follow the steps above to write it again and try to modify it. Now that everyone is here, I have to look at my GitHub-Allianzcortex/cortexForum.

The starting point of this project was:

In the process of learning Django, one of the most annoying problems is that there is no good practical project to help people understand. Django documentationFrom typographical use cases to use cases are the best standards for documents, but even if you take notes and consolidate the documents on the same day and one month later, you will still lose the evidence in actual use. Recommended such as FairybbsWhen writing a form, we still use request. POST. get () to retrieve data on the page, while forumIn this case, the get and post methods of requests are written in two views separately, which adds a lot of burden. In addition, all files are stored in a large app, which does not meet the characteristics of low coupling.

In contrast, Flask has a Flask-web development book.As an entry book, there are JuneAs a mature and specific project.

Just recently, I was confused and upset about my paper (: --, so I came up with the idea of writing a forum with Django best practices. When writing cortexForum, try to implement the following:

  • Mark the document module used in the Code and the specific usage to facilitate searching

  • The SO section in the annotation indicates that it is very common and there are related problems on stackoverflow (for example, lookup field in query_set)

  • Some of the solutions are written in comments (such as objects. filer (). update and instance. save (), and use plug-ins such as cripy-forms/django-bootstrap3 for handwritten HTML)

  • The gitbook format is used as the wiki, which provides a general overview of the forum design.


Many Django features are taken into account when you write them. (apart from CBVS, Django officially admitted that FBVS is still the mainstream:-^). The template uses bootstrap, the display effect is as follows:

Wow Haha, welcome to star, fork, raise issue, and raise PR's own movie information website. The main purpose is to learn django to come here. The first step is to crawl movie information, it is then displayed on the website, mainly including:
1. Movie display, which is the focus, filtering, and searching;
2. The question of film is the question of seeking seeds;
3. online chat, which is not perfect, can only be online chat;
4. Management of basic user information, logon and registration, etc;
Demo address: http: // 121.42.156.185: 8000/getmovielist/ (The domain name has not been filed .. That's it. About 16000 movies can be played)
Github address: https://github.com/pureYun/dnomovie You don't need to read any books to add bootstrap to Django. Put css in static.
We recommend that you use html and bootstrap to write the static page, and then use Django dynamic words.
The best document for these two things is the official tutorial. learn django first and then learn bootstrap.
Django: view The Django Book Step by step, the website will come out, and then put bootstrap in and use it as a front-end.
Just look at the official website for Bootstrap. It is recommended that you study separately and then combine them together.
Let's talk about bootstrap first. We should first introduce the Intro to HTML & CSS of Udacity in the aspect of technical teaching. The content is very close to the Industry. After reading the Getting Started video, we can get started with some basic web page design, we recommend that you obtain the ps chart, apply the graph, and check the official documents.
Django is only one of the back-end frameworks of many websites. It is very popular because it is particularly useful and has been updated to version 1.8. However, many tutorials are still available before version 1.7, some time ago, sinaapp's cloud service was released, and the version is still in version 1.4. Some friends mentioned How to tango with django in the previous article, which is indeed a good entry-level book. We recommend that you read the official documents directly. I personally highly recommend Test-Driven Development (TDD). I suggest you read Test Driven Development with python. Bootstrap has many 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.