HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
craigds
django-typed-models
Python2018–2018
craigds / django-typed-models

django-typed-models

polymorphic django models using automatic type-field downcasting

2Distinct people
2Mentions
0Explicit recommenders
230GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

polymorphic django models using automatic type-field downcasting

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2018-06-18 07:15:37 UTC to 2018-06-18 09:31:31 UTC.

012018-06-18 07:00:00 UTC to 2018-06-18 08:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 18, 07:002018-06-18 08:00:00 UTC to 2018-06-18 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJun 18, 08:002018-06-18 09:00:00 UTC to 2018-06-18 10:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 18, 09:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jun 18, 07:002018-06-18 07:00:00 UTC2018-06-18 08:00:00 UTC101
Jun 18, 08:002018-06-18 08:00:00 UTC2018-06-18 09:00:00 UTC000
Jun 18, 09:002018-06-18 09:00:00 UTC2018-06-18 10:00:00 UTC101

What Hacker News says

2 sources
> The final optimization would have been to write a language that would define game entities in terms of the game components they were subject to and automatically generate the single class that was union of all possible types and would be a "row" in the table django-typed-models https://github.com/craigds/django-typed-models > polymorphic django models using automatic type-field downcasting > The actual type of each object is stored in the database, and when the object is retrieved it is automatically cast to the correct model class ... > the common thread was that a hierarchical OO structure ended up adding a lot of unneeded complexity for games that hindered flexibility as requirements changed or different behaviors for in-game entities were added. So, in order to draw a bounding box for an ensemble of hierarchically/tree/graph-linked
Read the rest
objects (possibly modified in supersteps for reproducibility), is an array-based adjacency matrix still fastest? Are sparse arrays any faster for this data architecture?
In Handles are the better pointers

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.