Fakultas Ilmu Komputer UI

Commit b67b5ec7 authored by Muhammad Farhan Thariq's avatar Muhammad Farhan Thariq
Browse files

initial commit

from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class HomeConfig(AppConfig):
name = 'home'
from django.db import models
# Create your models here.
h1 {
text-align: center;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 50px;
font-weight: 500;
color: chocolate;
margin-top: 100px;
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
{% load static %}
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{% static 'home/style.css' %}">
<h1>Hello World</h1>
\ No newline at end of file
from django.test import TestCase
# Create your tests here.
from django.urls import path
from . import views
app_name = 'home'
urlpatterns = [
path('', views.index, name='index'),
\ No newline at end of file
from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, 'home/index.html')
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment