Skip to content

Commit 50a45fa

Browse files
committed
Dummy
1 parent 6cbb861 commit 50a45fa

File tree

11 files changed

+522
-1
lines changed

11 files changed

+522
-1
lines changed

app1/__init__.py

Whitespace-only changes.

app1/admin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

app1/apps.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class App1Config(AppConfig):
5+
default_auto_field = "django.db.models.BigAutoField"
6+
name = "app1"

app1/migrations/__init__.py

Whitespace-only changes.

app1/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.

app1/templates/custom.html

Lines changed: 478 additions & 0 deletions
Large diffs are not rendered by default.

app1/tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

app1/urls.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from django.urls import path
2+
3+
from . import views
4+
5+
urlpatterns = [
6+
path('', views.index, name='index'),
7+
]

app1/views.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
from django.shortcuts import render
2+
from django.http import HttpResponse
3+
4+
# Create your views here.
5+
6+
def index(request):
7+
8+
# Just dummy text
9+
# return HttpResponse("Hello, world. You're at the polls index.")
10+
11+
# Page from the theme
12+
# return render(request, 'pages/dashboard.html')
13+
14+
# Custom Page
15+
return render(request, 'custom.html')
16+

core/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,16 @@
3131
# Application definition
3232

3333
INSTALLED_APPS = [
34+
'admin_argon.apps.AdminArgonConfig',
35+
#'admin_material.apps.AdminMaterialDashboardConfig',
3436
"django.contrib.admin",
3537
"django.contrib.auth",
3638
"django.contrib.contenttypes",
3739
"django.contrib.sessions",
3840
"django.contrib.messages",
3941
"django.contrib.staticfiles",
42+
43+
"app1",
4044
]
4145

4246
MIDDLEWARE = [

0 commit comments

Comments
 (0)