Merge remote-tracking branch 'origin/main'

This commit is contained in:
SDE
2023-09-21 15:03:01 +03:00
20 changed files with 581 additions and 2 deletions

View File

@@ -133,6 +133,10 @@ MEDIA_ROOT = 'media/'
STATIC_URL = '/static/'
STATIC_ROOT = '/'
STATICFILES_DIRS = [
BASE_DIR / "static",
]
# Default primary key field type
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field

View File

@@ -19,8 +19,10 @@ from django.contrib import admin
from django.urls import path, include
from django.conf.urls.static import static
from django.conf import settings
from QuestionsApp.views import view_main
urlpatterns = [
path('', view_main, name='table_view'),
path('admin/', admin.site.urls),
path('ckeditor/', include('ckeditor_uploader.urls')),
path('', include('QuestionsApp.urls')),