django app install

This commit is contained in:
nprasad2077
2023-04-14 00:13:58 -05:00
parent 5651909552
commit 0f754caac3
9 changed files with 19 additions and 1 deletions
View File
+3
View File
@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.
+6
View File
@@ -0,0 +1,6 @@
from django.apps import AppConfig
class NbaDataConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'nba_data'
View File
+3
View File
@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+3
View File
@@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.
+1 -1
View File
@@ -20,7 +20,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-sww_z^4ek6_2vly0_hcwvapk4j(-5&v#$8dh*2_2m%=6@izeqj'
SECRET_KEY = 'django-insecure-f*v4mu4cc=d6razef+!wlw0zs!z(wh)c5z!vqc)=xh0yfz47zg'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True