MCPcopy
hub / github.com/django/django / __init__

Method __init__

django/contrib/admin/options.py:733–737  ·  view source on GitHub ↗
(self, model, admin_site)

Source from the content-addressed store, hash-verified

731 )
732
733 def __init__(self, model, admin_site):
734 self.model = model
735 self.opts = model._meta
736 self.admin_site = admin_site
737 super().__init__()
738
739 def __str__(self):
740 return "%s.%s" % (self.opts.app_label, self.__class__.__name__)

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected