Added django_mongo app

This commit is contained in:
Allen
2023-09-23 23:41:16 -05:00
parent fa1eb6de4c
commit 10d30c7d8c
11 changed files with 41 additions and 11 deletions

View File

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class DjangoMongoConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'django_mongo'

View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

View File

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

View File

@ -0,0 +1,5 @@
from django.urls import path
from . import views
urlpatterns = [path('',views.index,name='index'),]

View File

@ -0,0 +1,6 @@
from django.shortcuts import render
# Create your views here.
def index(request):
return HttpResponse("<h1>Hello and welcome to my first <u>Django App</u> project!</h1>")