There are so many programming languages, but one that has caught my eye for a pretty long time has always been Python. The first time I heard about...
For further actions, you may consider blocking this person and/or reporting abuse
Excellent post, very good job 👏. I have a question. I've been learning and building a little bit with react in the front and the api powered by Django. My question is are templates (multi page old style) still used in modern web development?
Thank you.
I have used templates but not the default one from Django, an external one. And yes the templates are still being used.
I have a question for you, I have not used react with Django so far, How is the building process working out for you?
Well I'm still looking for that first job, no real world production experience yet. But this is what I did in my project.
You could have the front and the back in completely different repositories, but I wanted to have them in the same one to make version control easy and consistent through the entire project.
I run django-admin startproject project_name
And then inside the root folder I run npx create-react-app fronted
They are 2 totally decoupled independent projects in the same repository and they only talk through RestFul API requests
Nice, it sounds pretty neat too. I am going to give react a try.
Go for it! Btw which tamplates do you use with Django?
I Google most of the time other times my friends where some of theirs
Oh and I use the one's that are a complete package with bootstrap, Js etc
Awesome article!
However, I recommend to use
cookiecutter
instead ofdjango-admin startproject
. Why? Because you can reuse existing work of other developers!Including very complex and high-quality setups, like wemake-django-template. It allows to jump start your new project filled with best practices, tools, and documentation with just two commands.
Some features:
@dependabot
python3.7+
poetry
for managing dependenciesmypy
anddjango-stubs
for static typingpytest
andhypothesis
for unit testsflake8
and wemake-python-styleguide for lintingdocker
for development, testing, and productionsphinx
for documentationGitlab CI
with fullbuild
,test
, anddeploy
pipeline configured by defaultCaddy
withhttps
andhttp/2
turned on by defaultwemake-services / wemake-django-template
Bleeding edge django template focused on code quality and security.
wemake-django-template
Bleeding edge
django2.2
template focused on code quality and security.Purpose
This project is used to scaffold a
django
project structure Just likedjango-admin.py startproject
but better.Features
python3.7+
build
,test
, anddeploy
pipeline configured by defaulthttp/2
turned on by defaultInstallation
Firstly, you will need to install dependencies:
Then, create a project itself:
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,…
print(" Thanks Chief ")
I need to teach you markdown.
how?
Like
java
orruby
.Django Girl!!!
Yasssss
This is great 👏👏👏👏👏
Thank you.
✨✨...like how thorough this is, Velda. Bonus points for that Jamie Foxx Django header. Good job.
Thank you 😁
Nice ...
Thank you
Its a good job 👏🏽👌🏽. Awesome👍🏽
Thank you
Wow.. this is really nice.
I just started learning Django, any tips on what to read aside the docs?, it's kind of blurry right now but I'm ready to learn it.
I prefer using the official docs, but if you check online you will get some YouTube videos
This is really insightful. I will consider Django in my next project...
Thank you.
Please do.
Excellent explanation. Gives me the motivation to keep learnng django just started out learning it a week a go