proje çalışıt halde

proje çalışıt halde
This commit is contained in:
2026-08-27 00:54:09 +03:00
parent 6d2d39ec89
commit 8efdbcd1e3
18 changed files with 353 additions and 0 deletions
View File
+3
View File
@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.
+5
View File
@@ -0,0 +1,5 @@
from django.apps import AppConfig
class JcoreConfig(AppConfig):
name = 'jcore'
View File
+3
View File
@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.
+49
View File
@@ -0,0 +1,49 @@
{% extends 'BaseLayout.html' %}
{% load static %}
{% block title %}{{ project_name }} Django Template{% endblock %}
{% block content %}
<!-- Ana İçerik (Hero Section) -->
<main class="flex-shrink-0">
<div class="container mt-5">
<div class="p-5 text-center bg-white rounded-3 shadow-sm border">
<h1 class="text-primary fw-bold">Hoş Geldiniz!</h1>
<p class="lead mt-3 text-muted">
<strong>{{ project_name }}</strong> projesi, özel Django şablonunuz kullanılarak başarıyla oluşturuldu. Dahili <strong>jcore</strong> uygulaması çalışmaya hazır.
</p>
<hr class="my-4">
<p>Şu anda Bootstrap 5 ile şekillendirilmiş varsayılan şablonu görüyorsunuz.</p>
<div class="d-flex justify-content-center gap-3 mt-4">
<a href="/admin" class="btn btn-primary btn-lg">Admin Paneline Git</a>
<a href="#" class="btn btn-outline-secondary btn-lg">Dokümantasyon</a>
</div>
</div>
<!-- Özellikler Kartları (Grid Sistemi Örneği) -->
<div class="row mt-5 text-center">
<div class="col-md-4 mb-4">
<div class="card h-100 shadow-sm border-0">
<div class="card-body">
<h5 class="card-title text-dark">🚀 Hızlı Başlangıç</h5>
<p class="card-text text-muted">Projeniz temel ayarlar ve jcore uygulaması ile birlikte anında kodlamaya hazır.</p>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card h-100 shadow-sm border-0">
<div class="card-body">
<h5 class="card-title text-dark">🎨 Modern Tasarım</h5>
<p class="card-text text-muted">Bootstrap 5 entegrasyonu sayesinde mobil uyumlu ve şık bir arayüz.</p>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card h-100 shadow-sm border-0">
<div class="card-body">
<h5 class="card-title text-dark">⚙️ Özelleştirilmiş</h5>
<p class="card-text text-muted">Views, urls ve settings dosyaları sizin belirlediğiniz standartlara göre yapılandırıldı.</p>
</div>
</div>
</div>
</div>
</div>
</main>
{% endblock %}
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+6
View File
@@ -0,0 +1,6 @@
from django.urls import path
from . import views as v
urlpatterns = [
path("", v.index, name="index"),
]
+6
View File
@@ -0,0 +1,6 @@
from django.shortcuts import render
# Create your views here.
def index(request):
return render(request, "jcore/index.html")