mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
This commit is contained in:
committed by
Mariusz Felisiak
parent
6015bab80e
commit
14459f80ee
@@ -58,9 +58,10 @@ each table's creation, modification, and deletion::
|
||||
class Person(models.Model):
|
||||
id = models.IntegerField(primary_key=True)
|
||||
first_name = models.CharField(max_length=70)
|
||||
|
||||
class Meta:
|
||||
managed = False
|
||||
db_table = 'CENSUS_PERSONS'
|
||||
managed = False
|
||||
db_table = "CENSUS_PERSONS"
|
||||
|
||||
If you do want to allow Django to manage the table's lifecycle, you'll need to
|
||||
change the :attr:`~django.db.models.Options.managed` option above to ``True``
|
||||
|
||||
Reference in New Issue
Block a user