Comment

Comment by anewhnaccount

Yeah, or another way of splitting up huge models files is to convert models from a module to a package by making a directory models and adding models/__init__.py, models/foo_models.py, models/bar_models.py then doing

from .foo_models import *

from .bar_models import *

in your __init__.py

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton