mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
This commit is contained in:
parent
6015bab80e
commit
14459f80ee
193 changed files with 5797 additions and 4481 deletions
|
@ -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``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue