mirror of
https://github.com/Rushilwiz/global.git
synced 2025-04-09 15:00:16 -04:00
fix: fixed app name and settings
This commit is contained in:
parent
ad9a18ff50
commit
2ed5f23b0b
|
@ -3,4 +3,4 @@ from django.apps import AppConfig
|
|||
|
||||
class BaseConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'base'
|
||||
name = 'global.apps.base'
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
from django.contrib.auth.views import LogoutView
|
||||
|
||||
from django.urls import path
|
||||
|
||||
|
||||
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
|
|
|
@ -2,4 +2,4 @@ from django.shortcuts import render
|
|||
|
||||
# Create your views here.
|
||||
def under_construction(request):
|
||||
return render("base/under_construction.html")
|
||||
return render(request, "base/under_construction.html")
|
||||
|
|
|
@ -56,7 +56,7 @@ ROOT_URLCONF = 'global.urls'
|
|||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [],
|
||||
'DIRS': [BASE_DIR / 'templates'],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
<title>Global Studies 2022</title>
|
||||
<style type="text/css">
|
||||
@import url("https://fonts.googleapis.com/css?family=Ubuntu");
|
||||
* {
|
||||
overflow: hidden
|
||||
}
|
||||
#outerCraneContainer {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
|
|
|
@ -14,9 +14,9 @@ Including another URLconf
|
|||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
from django.urls import path, include
|
||||
|
||||
urlpatterns = ([
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('', include('global.apps.base.urls'))
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user