fix: clean up requirements and import command, update README

- requirements.txt: remove unused packages (django-imagekit, django-taggit, python-slugify), keep 4 actual deps
- import_example_images.py: remove grid_size variable and param to fix TypeError
- README.md: correct repo dir name, add comment/search/category/login docs, fix tech stack and project structure, update data model (remove grid_size, add Comment), add v1.1.0 changelog

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 18:10:34 +08:00
parent 181d313b56
commit 02cc29fcfd
3 changed files with 111 additions and 86 deletions

View File

@@ -120,16 +120,11 @@ class Command(BaseCommand):
# 随机选择分类
category = random.choice(categories) if categories else None
# 根据图片比例智能选择网格尺寸
# 这里先使用默认值,图片保存时会根据实际尺寸调整
grid_size = 'medium'
# 创建作品
artwork = Artwork(
title=titles[title_index],
description=descriptions[description_index],
order=index * 10, # 按导入顺序排序
grid_size=grid_size,
category=category
)