Adding DB

This commit is contained in:
2021-10-09 20:36:50 +11:00
parent 17c4ef970f
commit 08d1b39b25
5 changed files with 17 additions and 10 deletions

View File

@@ -78,8 +78,8 @@ WSGI_APPLICATION = 'rakka.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'djongo',
'NAME': conf['DBNAME'],
}
}

View File

@@ -19,6 +19,5 @@ from . import views
urlpatterns = [
path('', include('main.urls')),
#path('', views.index,name='idex'),
path('admin/', admin.site.urls),
]