Skip to content

Commit

Permalink
Removing reference to removed error handlers.
Browse files Browse the repository at this point in the history
Fixes #161, thanks r3myg!
  • Loading branch information
honzakral committed Jan 25, 2014
1 parent cecde5c commit ac934a2
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions doc/quickstart.rst
Expand Up @@ -134,9 +134,6 @@ fashion, serve also media files discussed in previous paragraph::
from django.contrib import admin from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.contrib.staticfiles.urls import staticfiles_urlpatterns


# make sure to import ella error handlers
from ella.core.urls import handler404, handler500
# register apps for Django admin and let the apps do any initialization they need # register apps for Django admin and let the apps do any initialization they need
from ella.utils.installedapps import call_modules from ella.utils.installedapps import call_modules
call_modules(('admin', 'register', )) call_modules(('admin', 'register', ))
Expand Down Expand Up @@ -416,20 +413,6 @@ This template will have access to the actual ``Publishable`` subclass instance
Note the use of ``{% render %}`` templatetag that is used to render **rich-text Note the use of ``{% render %}`` templatetag that is used to render **rich-text
fields** (which object.description is) thorought Ella. fields** (which object.description is) thorought Ella.



Error pages
===========

By importing ``handler404`` and ``handler500`` in our ``urls.py``, we turned
over the control of error pages to Ella. This means that we need to create two
additional templates: ``page/404.html``::

<h1>Oops, nothing here</h1>

and ``page/500.html``::

<h1>If you see this, let us please know how you did it, thanks!</h1>

Now that we have a set of rudimentary templates, we can try Now that we have a set of rudimentary templates, we can try
**doing something useful** with them. **doing something useful** with them.


Expand Down

0 comments on commit ac934a2

Please sign in to comment.