Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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')),
|
||||
|
||||
Reference in New Issue
Block a user