diff options
| author | Tim Graham <timograham@gmail.com> | 2013-09-25 11:39:38 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-09-25 11:39:38 -0400 |
| commit | 15ed75d6329fae75bb0b1ec734718fbae72f7ff7 (patch) | |
| tree | 4dd68674a0ccc3d9a0e0aa7134b830c057b9b211 /docs | |
| parent | f671fb9d1182afd15d471bf05639052cc8a7cde7 (diff) | |
Updated a code block to use the emphasize-lines Sphinx option
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/legacy-databases.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/howto/legacy-databases.txt b/docs/howto/legacy-databases.txt index fb0f724d0a..a3a0bfc747 100644 --- a/docs/howto/legacy-databases.txt +++ b/docs/howto/legacy-databases.txt @@ -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 this generated model definition: -.. parsed-literal:: +.. code-block:: python + :emphasize-lines: 5 class Person(models.Model): id = models.IntegerField(primary_key=True) first_name = models.CharField(max_length=70) class Meta: - **managed = False** + managed = False db_table = 'CENSUS_PERSONS' If you wanted to modify existing data on your ``CENSUS_PERSONS`` SQL table |
