[PYTHON] Rails users try to create a simple blog engine with Django

Overview

I recently started studying Django, so I created a simple blog engine. I used the Django Tutorial as a complete reference. This tutorial can be straightforward.

With this blog engine, you can list, create, edit, and delete blog entries. Pagination when there are more than 10 blog entries.

Implementation

https://github.com/elm200/blogger-django

image.png

Comparison with Rails

Django is often compared to Ruby on Rails as Python's full-stack web framework. It's been about 10 days since I started using it, so I can't say much, but I like it so far. Compared to Rails, there are more types, but it's easier to understand.

Rails can do a lot with a small amount of code through black magic metaprogramming, but once you get off the "rail", you don't know what to do. Rails' various DSLs, which were introduced with kindness, are not sure what they can do and how much they can do, and it feels annoying when they are used.

In that regard, Django adheres to Python's philosophy of "explicit rather than implicit," and you shouldn't do anything extra unless you take action. Rails didn't understand how it worked without loading the framework source code, but Django doesn't have to do that (at least less often).

Future tasks

--Sort by column on the list screen --Creating a comment section

Recommended Posts

Rails users try to create a simple blog engine with Django
I tried to create a table only with Django
Try to dynamically create a Checkbutton with Python's Tkinter
Create a homepage with django
[GCP] Try a sample to authenticate users with Firebase
Try to create a Todo management site using WebSocket with Django (Swamp Dragon)
(For beginners) Try creating a simple web API with Django
Steps to create a Django project
Create a file uploader with Django
[C language] [Linux] Try to create a simple Linux command * Just add! !!
Try to create a python environment with Visual Studio Code & WSL
Try to create a Qiita article with REST API [Environmental preparation]
Create a REST API to operate dynamodb with the Django REST Framework
A simple RSS reader made with Django
Create a simple web app with flask
[Cloudian # 3] Try to create a new object storage bucket with Python (boto3)
How to develop a cart app with Django
Try to draw a life curve with python
Try to make a "cryptanalysis" cipher with Python
Create a dashboard for Network devices with Django!
Steps to create a Twitter bot with python
Try to create a new command on linux
Try to make a dihedral group with Python
How to create a multi-platform app with kivy
Create a one-file hello world application with django
A simple to-do list created with Python + Django
How to create a Rest Api in Django
A simple workaround for bots to try to post tweets with the same content
A memo to create a virtual environment (venv) before Django
Try making a simple website with responder and sqlite3
Create a Django schedule
Create a Todo app with Django REST Framework + Angular
Try to make a command standby tool with python
Try to create a battle record table with matplotlib from the data of "Schedule-kun"
How to create a submenu with the [Blender] plugin
(Python) Try to develop a web application using Django
Create a Todo app with the Django REST framework
Create a Todo app with Django ③ Create a task list page
A sample to try Factorization Machines quickly with fastFM
I want to manually create a legend with matplotlib
How to create a simple TCP server / client script
Transit to the update screen with the Django a tag
To myself as a Django beginner (1) --Create a project app--
Try to create a waveform (audio spectrum) that moves according to the sound with python
[Python] How to create a 2D histogram with Matplotlib
To myself as a Django beginner (4) --Create a memo app--
Create a Todo app with Django ⑤ Create a task editing function
Diary to create a site called Harmony Engine (irregular) 1
Create a django environment with docker-compose (MariaDB + Nginx + uWSGI)
[Go language] Try to create a uselessly multi-threaded line counter
Try to build a deep learning / neural network with scratch
I tried to automatically create a report with Markov chain
Create a Mastodon bot with a function to automatically reply with Python
Probably the easiest way to create a pdf with Python3
How to create a flow mesh around a cylinder with snappyHexMesh
[Python Kivy] How to create a simple pop up window
How to make a simple Flappy Bird game with pygame
Try to bring up a subwindow with PyQt5 and Python
Create a simple video analysis tool with python wxpython + openCV
I'm trying to create an authentication / authorization process with Django
Create a simple Python development environment with VSCode & Docker Desktop