initial commit
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
@@ -0,0 +1,5 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class CoreConfig(AppConfig):
|
||||
name = 'apps.core'
|
||||
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
@@ -0,0 +1,6 @@
|
||||
{% extends "Baselayout.html" %}
|
||||
{% load static %}
|
||||
{% block title %}Index{% endblock %}
|
||||
{% block content %}
|
||||
Welcome to the Index Page!
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
@@ -0,0 +1,6 @@
|
||||
from django.urls import path
|
||||
from . import views as v
|
||||
|
||||
urlpatterns = [
|
||||
path('', v.IndexView.as_view(), name='index'),
|
||||
]
|
||||
@@ -0,0 +1,7 @@
|
||||
from django.shortcuts import render
|
||||
from django.views.generic import TemplateView, ListView
|
||||
|
||||
# Create your views here.
|
||||
|
||||
class IndexView(TemplateView):
|
||||
template_name = "apps/core/index.html"
|
||||
Reference in New Issue
Block a user