S
S
Sergey08082017-09-25 06:23:33
Django
Sergey0808, 2017-09-25 06:23:33

Django class Meta, why are they needed?

Why is it necessary to use the Meta class? Is it possible without it? And why is he at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valentine, 2017-09-25
@vvpoloskin

Read about metaprogramming, get inspired, and everything will fall into place. If you're asking about meta in models, it's a successor to type.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question