# Generated by Django 5.2.1 on 2026-07-23 06:23

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='SiteSettings',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('institute_name', models.CharField(default='TSN Digital Academy', help_text='Displayed across the site (navbar, titles, emails).', max_length=150)),
                ('tagline', models.CharField(blank=True, default='Learn Anything, Anytime', max_length=200)),
                ('logo', models.ImageField(blank=True, help_text='Main logo used in navbar and auth pages.', null=True, upload_to='Logo/')),
                ('favicon', models.ImageField(blank=True, null=True, upload_to='Logo/')),
                ('currency_code', models.CharField(default='PKR', help_text='ISO currency code used for display and Stripe (e.g. PKR, USD, EUR).', max_length=3)),
                ('currency_symbol', models.CharField(default='PKR', help_text='Symbol shown next to prices (e.g. PKR, $, €).', max_length=8)),
                ('enable_manual_payment', models.BooleanField(default=True, help_text='Students upload a payment screenshot for admin/teacher approval.')),
                ('enable_stripe_payment', models.BooleanField(default=False, help_text='Students pay online via Stripe; enrollment auto-activates on success.')),
                ('manual_payment_instructions', models.TextField(blank=True, default='Please pay your course fee via Easypaisa / bank transfer.\nAccount Number: 0345-1234567\nAfter paying, upload a screenshot of your transaction receipt below.', help_text='Shown to students on the manual payment page.')),
                ('stripe_publishable_key', models.CharField(blank=True, max_length=255)),
                ('stripe_secret_key', models.CharField(blank=True, max_length=255)),
                ('stripe_webhook_secret', models.CharField(blank=True, max_length=255)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
            options={
                'verbose_name': 'Site Settings',
                'verbose_name_plural': 'Site Settings',
            },
        ),
    ]
