Parcourir la source

#db:数据维护

yht il y a 21 heures
Parent
commit
6678e5b6a5

BIN
pythonweb/db.sqlite3


+ 22 - 0
pythonweb/newsApp/migrations/0004_alter_mynew_options_alter_mynew_title.py

@@ -0,0 +1,22 @@
+# Generated by Django 4.2.30 on 2026-05-09 14:10
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('newsApp', '0003_mynew_photo'),
+    ]
+
+    operations = [
+        migrations.AlterModelOptions(
+            name='mynew',
+            options={'ordering': ['-publishDate'], 'verbose_name': '新闻', 'verbose_name_plural': '新闻'},
+        ),
+        migrations.AlterField(
+            model_name='mynew',
+            name='title',
+            field=models.CharField(max_length=50, verbose_name=' 新闻标题'),
+        ),
+    ]

+ 1 - 8
pythonweb/productsApp/templates/productDetail.html

@@ -1,11 +1,4 @@
-{% extends "base.html" %}
-{% load staticfiles %}
-
-{% block title %}
-产品详情
-{% endblock %}
-
-{% block content %}
+{% extends "base.html" %} {% load static %} {% block title %} 产品详情 {% endblock %} {% block content %}
 <link href="{% static 'css/products.css' %}" rel="stylesheet">
 <!-- 主体内容 -->
 <div class="container">

BIN
pythonweb/whoosh_index/MAIN_17hadal00qz0b4wf.seg


BIN
pythonweb/whoosh_index/MAIN_4m3f2sni6ubvim79.seg


BIN
pythonweb/whoosh_index/MAIN_e8yukx7l88n7lc4n.seg


BIN
pythonweb/whoosh_index/MAIN_qk95h4o4c4flq0wv.seg


BIN
pythonweb/whoosh_index/MAIN_soyja7uhykk99rp7.seg


BIN
pythonweb/whoosh_index/MAIN_vylrll3rihl2qkqa.seg


BIN
pythonweb/whoosh_index/MAIN_x4jpou5fvmh2tyu3.seg


BIN
pythonweb/whoosh_index/MAIN_zhmbz28qs0seai2s.seg


BIN
pythonweb/whoosh_index/_MAIN_4.toc → pythonweb/whoosh_index/_MAIN_9.toc