Changes between Version 17 and Version 18 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Oct 19, 2005, 8:57:43 AM (19 years ago)
Author:
Adrian Holovaty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v17 v18  
    137137   * Add {{{"django.middleware.sessions.SessionMiddleware"}}} to {{{MIDDLEWARE_CLASSES}}}, if it's not already in there.
    138138   * If you've created any custom admin templates, add the appropriate line from the admin {{{TEMPLATE_DIRS}}} setting to your "main" {{{TEMPLATE_DIRS}}}.
    139      * '''Current behavior:''' Django looks up 404/500 templates in your {{{TEMPLATE_DIRS}}} without any fallback mechanism. Make sure you have these templates available.
     139     * (Note that Django looks for "404.html" and "500.html" templates in your {{{TEMPLATE_DIRS}}}. Make sure you have these templates available.)
    140140   * If you've created any custom admin templates, note that the template inheritance structure has changed. All admin templates are now within an {{{admin}}} subdirectory of the template directory. The following admin templates are directly affected by this change:
    141141     * 404 --> admin/404
     
    168168If you use external mapping to files and directories (e.g., using mod_rewrite), do the following:
    169169
    170  * Make sure you don't redirect {{{/admin}}} to another instance of Django with different settings (e.g., using admin.py). Now '''one''' instance of Django handles admin '''and''' your main site. Do not redirect now!
     170 * Make sure you're not redirecting {{{/admin}}} to another instance of Django with different settings (e.g., using settings/admin.py).
    171171 * If you had a mapping of admin media files, make sure that it points to new directory, which is {{{/your/path/to/django/contrib/admin/media}}}.
    172172
Back to Top