mirror of
https://github.com/Rushilwiz/global.git
synced 2025-04-20 12:10:15 -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):
|
class BaseConfig(AppConfig):
|
||||||
default_auto_field = 'django.db.models.BigAutoField'
|
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 django.urls import path
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
from . import views
|
from . import views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
|
|
|
@ -2,4 +2,4 @@ from django.shortcuts import render
|
||||||
|
|
||||||
# Create your views here.
|
# Create your views here.
|
||||||
def under_construction(request):
|
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 = [
|
TEMPLATES = [
|
||||||
{
|
{
|
||||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||||
'DIRS': [],
|
'DIRS': [BASE_DIR / 'templates'],
|
||||||
'APP_DIRS': True,
|
'APP_DIRS': True,
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'context_processors': [
|
'context_processors': [
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
<title>Global Studies 2022</title>
|
<title>Global Studies 2022</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
@import url("https://fonts.googleapis.com/css?family=Ubuntu");
|
@import url("https://fonts.googleapis.com/css?family=Ubuntu");
|
||||||
|
* {
|
||||||
|
overflow: hidden
|
||||||
|
}
|
||||||
#outerCraneContainer {
|
#outerCraneContainer {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -14,9 +14,9 @@ Including another URLconf
|
||||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||||
"""
|
"""
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.urls import path
|
from django.urls import path, include
|
||||||
|
|
||||||
urlpatterns = ([
|
urlpatterns = [
|
||||||
path('admin/', admin.site.urls),
|
path('admin/', admin.site.urls),
|
||||||
path('', include('global.apps.base.urls'))
|
path('', include('global.apps.base.urls'))
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user