MCPcopy
hub / github.com/django/django / Foo

Class Foo

tests/schema/tests.py:532–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530 @isolate_apps("schema")
531 def test_char_field_pk_to_auto_field(self):
532 class Foo(Model):
533 id = CharField(max_length=255, primary_key=True)
534
535 class Meta:
536 app_label = "schema"
537
538 with connection.schema_editor() as editor:
539 editor.create_model(Foo)

Callers

nothing calls this directly

Calls 4

CharFieldClass · 0.90
AutoFieldClass · 0.90
ArrayFieldClass · 0.90
TextFieldClass · 0.90

Tested by

no test coverage detected