diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index 1698e94f00..32f5cd6b30 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -435,7 +435,7 @@ with the following code:: import os from django.contrib.gis.utils import LayerMapping - from models import WorldBorder + from .models import WorldBorder world_mapping = { 'fips' : 'FIPS', @@ -704,7 +704,7 @@ Let's dive right in. Create a file called ``admin.py`` inside the ``world`` application with the following code:: from django.contrib.gis import admin - from models import WorldBorder + from .models import WorldBorder admin.site.register(WorldBorder, admin.GeoModelAdmin)