Skip to content

deeppatel23/Diary_Management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Diary_Management

Hello everyone!

This is the first time I worked on a webapp based on Django. It's a basic #Diary app (#diarymanagement or #journaling) with few features and simple UI. I used SQLite #database for this app. Features of app are are:

  • Register/Login/Logout
  • Create an entry
  • Update your previous entry
  • Created/Last edit Date record
  • Delete entry

Working with #Django was fun and pretty easy. Also, the inbuilt admin panel helped a lot. Summarising my experience, Django is amazing👍🏻

Steps to use this repo

  1. Clone
  2. Make migration
  3. Runserver

Important Django commands and files

  • Creating Django project: django-admin startproject project_name
  • Checking Migration : python manage.py makemigrations
  • Making Migration to create database : python manage.py migrate
  • Make a new app in project : python manage.py startapp app_name
  • Running whole website : python manage.py runserver
  • Creating admin user : python manage.py createsuperuser
  • models.py: to create a class model that directly creates database queries
  • views.py: store business logic in form of python functions
  • urls.py: store path of functions present in views.py
  • templates: stores frontend logic, uses jinja tags to communicate with backend

Demo

https://www.linkedin.com/posts/deep-patel-92b95b1a3_diary-diarymanagement-journaling-activity-6731604737482911744-eogV

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published