1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-24 21:57:38 +00:00

Merge pull request #261 from AnuragSharma122/patch-1

I have added a part of database in this file
This commit is contained in:
Julien Le Coupanec 2021-12-21 16:18:08 +01:00 committed by GitHub
commit c958d3b39a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,15 @@
# Use underscores in URL pattern names rather than dashes. # 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 # Deployment