From 8b92343e9e30eabf9524b29afa221466494c4e57 Mon Sep 17 00:00:00 2001 From: AnuragSharma122 <82510045+AnuragSharma122@users.noreply.github.com> Date: Tue, 21 Dec 2021 18:19:54 +0530 Subject: [PATCH] I have added a part of database in this file --- backend/django.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/backend/django.py b/backend/django.py index 38b920d..50f53bd 100644 --- a/backend/django.py +++ b/backend/django.py @@ -37,6 +37,15 @@ # Use underscores in URL pattern names rather than dashes. +# ***************************************************************************** +# CODING STYLE > DATABASE +# ***************************************************************************** + +# 1.Register your app in admin file in your app folder to use admin panel in django +# 2.Create a superuser using command python manage.py createsuperuser +# 3.Remember to migrate after you change anything in your models.py file +# 4.Use /admin/ page to add data in your tables for testing purpose + # ***************************************************************************** # Deployment