On Sun, Dec 06, 2020 at 06:00:06PM -0800, Joel T wrote:
> I'm new here and have zero clues as to how to create a model with methods 
> that can be overridden by each instance . i.e Each instance will provide 
> its own methods that will be called when a certain event is triggered.

Hey Joel,

An instance of a model typically represents one row in the database.  It
is a bit unusual to have different methods per row(model instance).
Where will you store the code for these instance-specific methods?  In
the database?

Perhaps, you should ask a more general question?  Maybe this "unique
methods per model instance" isn't the best way to solve your problem.

- Ryan N

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20201207184901.GD9770%40fattuba.com.

Reply via email to