Ticket #87 (closed defect: fixed)
unittest for PyLucidCommonMiddleware
| Reported by: | JensDiemer | Owned by: | JensDiemer |
|---|---|---|---|
| Priority: | minor | Milestone: | v0.8.5 |
| Component: | system | Version: | 0.8 |
| Keywords: | install, syncdb, middleware | Cc: |
Description
For the first time installation the two django middlewares "SessionMiddleware?" and "AuthenticationMiddleware?" must be deactivated in the settings.py (per default in the settings_example.py). Because the SessionMiddleware? access on tables how not exists by the time.
After a syncdb the session table exists and the middleware can be activated.
We should be find a better way to handle this.
To this related: We should be find a better error handling if the user request a cms page and PyLucid is not installed.
Change History
Note: See
TracTickets for help on using
tickets.
