diff options
| author | Claude Paroz <claude@2xlibre.net> | 2014-05-15 19:41:55 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2014-05-15 19:58:41 +0200 |
| commit | e520a73eeea6b185b719901ab9985ecef00e5664 (patch) | |
| tree | aabb1eec8506c7320b00346440b17d19f7116b0e /docs/topics | |
| parent | 27aa85246a218b0999c7c9d227eed2afb08ed510 (diff) | |
Harmonized some PEP 0263 coding preambles
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/migrations.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt index 4f75fcff56..8a5359fec4 100644 --- a/docs/topics/migrations.txt +++ b/docs/topics/migrations.txt @@ -338,7 +338,7 @@ the file in the right place, suggest a name, and add dependencies for you):: Then, open up the file; it should look something like this:: - # encoding: utf8 + # -*- coding: utf-8 -*- from django.db import models, migrations class Migration(migrations.Migration): @@ -365,7 +365,7 @@ combined values of ``first_name`` and ``last_name`` (we've come to our senses and realized that not everyone has first and last names). All we need to do is use the historical model and iterate over the rows:: - # encoding: utf8 + # -*- coding: utf-8 -*- from django.db import models, migrations def combine_names(apps, schema_editor): |
