DEV Community

How to Learn Django (2020)

Will Vincent on June 21, 2020

As a “batteries-included” web framework, Django comes with a host of built-in features and a correspondingly steep learning curve for newcomers. In...
Collapse
 
corentinbettiol profile image
Corentin Bettiol •

Already making websites since a few years, the Poll tutorial is really a great surprise, since it's crystal clear (all steps detailed, links to useful resource, doc everywhere ...).

If you know html/css, and a programming language (Python is better, but php can also do the trick), you can definitely go for the Poll tuto :)

Collapse
 
nikedife profile image
nikedife •

awesome

Collapse
 
msurdi profile image
Matías Surdi •

For anyone learning django and that is not willing to learn at the same time React, Vue, etc I'd recommend Unpoly. It is very easy to use to add some dynamism, avoid full page reloads, do ajax updates, etc with minimal conceptual overhead.

unpoly.com/

Collapse
 
partha2000 profile image
Partha Prateem Patra •

Thanks Matías. I guess this would be very helpful for me since I am a beginner in django development and I don't have knowledge about frontend frameworks.

Collapse
 
sobolevn profile image
Nikita Sobolev •

I also love to learn from examples! And for me boilerplates are the best initial examples.

I recommend to check out wemake-django-template, especially if you are a beginner. It has all the best practices you are looking for.

GitHub logo wemake-services / wemake-django-template

Bleeding edge django template focused on code quality and security.

wemake-django-template

wemake.services Awesome Build status Documentation Status Dependencies Status wemake-python-styleguide

Bleeding edge django2.2 template focused on code quality and security.


Purpose

This project is used to scaffold a django project structure Just like django-admin.py startproject but better.

Features

Installation

Firstly, you will need to install dependencies:

pip install cookiecutter jinja2-git
Enter fullscreen mode Exit fullscreen mode

Then, create a project itself:

cookiecutter gh:wemake-services/wemake-django-template
Enter fullscreen mode Exit fullscreen mode

Who are using this template?

If you use our template, please add yourself or your company in the list.

We offer free email support for anyone who is using this If you have any problems or questions,…

Collapse
 
omarkhatib profile image
Omar •

thanks , does django work with microservices and react?
Or it's better to look for something else.

Collapse
 
corentinbettiol profile image
Corentin Bettiol •

You can use React with Django 3 :)

Collapse
 
omarkhatib profile image
Omar •

using DRF?

Thread Thread
 
corentinbettiol profile image
Corentin Bettiol •

Yup, I found a tuto that speaks about it, but I never used drf myself.

Thread Thread
 
omarkhatib profile image
Omar • • Edited

Thanks , I will take a look.

Thread Thread
 
omarkhatib profile image
Omar •

Chapter 4: Todo React Front-end
The author have also one , good!

Collapse
 
rakshakannu profile image
Raksha Kannusami •

Just what I was looking for! Thank you.

Collapse
 
nzejoe profile image
Jonathan C Nzete •

Thank you sir.
Your books, Django for Beginners and Django for Professionals has really helped me a lot. Very detailed , I really recommend them if you are new to django and advanced developers.

Collapse
 
c_v_ya profile image
Constantine •

Great! Also wanted to share a python slack group where we have a separate Django channel.