Show
Ignore:
Timestamp:
05/23/08 16:33:49 (22 months ago)
Author:
JensDiemer
Message:

new page_msg system. Use a middleware to make page_msg lazy: ticket:193

  • update settings_example.py (insert new middleware)
  • change """contextpage_msg?""" to """request.page_msg"""
  • add a simple page_msg unittest (Need more tests!)
  • update _install data (Templates and index page)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid/PyLucid/install/install.py

    r1552 r1585  
    102102    def view(self): 
    103103        from PyLucid.tools.db_dump import loaddb 
    104  
    105         # Delete all prefecrences (only for alpha state!!!) 
    106         from PyLucid.models import Preference 
    107         Preference.objects.all().delete() 
    108104 
    109105        self._redirect_execute(