Loading docs/glossary.txt +1 −1 Original line number Diff line number Diff line Loading @@ -72,4 +72,4 @@ Glossary See :doc:`/topics/templates`. view A function responsible for rending a page. A function responsible for rendering a page. docs/intro/tutorial05.txt +1 −1 Original line number Diff line number Diff line Loading @@ -362,7 +362,7 @@ With that ready, we can ask the client to do some work for us:: >>> response.status_code 404 >>> # on the other hand we should expect to find something at '/polls/' >>> # we'll use 'reverse()' rather than a harcoded URL >>> # we'll use 'reverse()' rather than a hardcoded URL >>> from django.core.urlresolvers import reverse >>> response = client.get(reverse('polls:index')) >>> response.status_code Loading docs/ref/checks.txt +1 −1 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ code snippet shows how you can implement this check:: self.min > self.max): return [ checks.Error( 'min greated than max.', 'min greater than max.', hint='Decrease min or increase max.', obj=self, id='myapp.E001', Loading docs/ref/contrib/formtools/form-wizard.txt +1 −1 Original line number Diff line number Diff line Loading @@ -319,7 +319,7 @@ The ``urls.py`` file would contain something like:: .. versionchanged:: 1.6 The ``condiction_dict`` can be passed as attribute for the ``as_view()` The ``condition_dict`` can be passed as attribute for the ``as_view()` method or as a class attribute named ``condition_dict``:: class OrderWizard(WizardView): Loading docs/ref/contrib/gis/commands.txt +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ ogrinspect <data_source> <model_name> .. django-admin:: ogrinspect The ``ogrinpsect`` management command will inspect the given OGR-compatible The ``ogrinspect`` management command will inspect the given OGR-compatible :class:`~django.contrib.gis.gdal.DataSource` (e.g., a shapefile) and will output a GeoDjango model with the given model name. There's a detailed example of using ``ogrinspect`` :ref:`in the tutorial <ogrinspect-intro>`. Loading Loading
docs/glossary.txt +1 −1 Original line number Diff line number Diff line Loading @@ -72,4 +72,4 @@ Glossary See :doc:`/topics/templates`. view A function responsible for rending a page. A function responsible for rendering a page.
docs/intro/tutorial05.txt +1 −1 Original line number Diff line number Diff line Loading @@ -362,7 +362,7 @@ With that ready, we can ask the client to do some work for us:: >>> response.status_code 404 >>> # on the other hand we should expect to find something at '/polls/' >>> # we'll use 'reverse()' rather than a harcoded URL >>> # we'll use 'reverse()' rather than a hardcoded URL >>> from django.core.urlresolvers import reverse >>> response = client.get(reverse('polls:index')) >>> response.status_code Loading
docs/ref/checks.txt +1 −1 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ code snippet shows how you can implement this check:: self.min > self.max): return [ checks.Error( 'min greated than max.', 'min greater than max.', hint='Decrease min or increase max.', obj=self, id='myapp.E001', Loading
docs/ref/contrib/formtools/form-wizard.txt +1 −1 Original line number Diff line number Diff line Loading @@ -319,7 +319,7 @@ The ``urls.py`` file would contain something like:: .. versionchanged:: 1.6 The ``condiction_dict`` can be passed as attribute for the ``as_view()` The ``condition_dict`` can be passed as attribute for the ``as_view()` method or as a class attribute named ``condition_dict``:: class OrderWizard(WizardView): Loading
docs/ref/contrib/gis/commands.txt +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ ogrinspect <data_source> <model_name> .. django-admin:: ogrinspect The ``ogrinpsect`` management command will inspect the given OGR-compatible The ``ogrinspect`` management command will inspect the given OGR-compatible :class:`~django.contrib.gis.gdal.DataSource` (e.g., a shapefile) and will output a GeoDjango model with the given model name. There's a detailed example of using ``ogrinspect`` :ref:`in the tutorial <ogrinspect-intro>`. Loading