Updated a code block to use the emphasize-lines Sphinx option
This commit is contained in:
parent
f671fb9d11
commit
15ed75d632
|
@ -57,13 +57,14 @@ Python declaration of each one of these models to specify it is a
|
||||||
:attr:`managed <django.db.models.Options.managed>` one. For example, consider
|
:attr:`managed <django.db.models.Options.managed>` one. For example, consider
|
||||||
this generated model definition:
|
this generated model definition:
|
||||||
|
|
||||||
.. parsed-literal::
|
.. code-block:: python
|
||||||
|
:emphasize-lines: 5
|
||||||
|
|
||||||
class Person(models.Model):
|
class Person(models.Model):
|
||||||
id = models.IntegerField(primary_key=True)
|
id = models.IntegerField(primary_key=True)
|
||||||
first_name = models.CharField(max_length=70)
|
first_name = models.CharField(max_length=70)
|
||||||
class Meta:
|
class Meta:
|
||||||
**managed = False**
|
managed = False
|
||||||
db_table = 'CENSUS_PERSONS'
|
db_table = 'CENSUS_PERSONS'
|
||||||
|
|
||||||
If you wanted to modify existing data on your ``CENSUS_PERSONS`` SQL table
|
If you wanted to modify existing data on your ``CENSUS_PERSONS`` SQL table
|
||||||
|
|
Loading…
Reference in New Issue