Changeset 187:404f0bb46bc0

Show
Ignore:
Timestamp:
07/17/09 20:15:40 (14 months ago)
Author:
rgrp
Branch:
default
convert_revision:
svn:0ead1229-0713-0410-96cd-f668dbfad531/trunk@273
Message:

[wui][s]: Provide CRUD admin interface for domain model (ticket:49) using formalchemy pylons extension.

Files:
3 added
3 modified

Legend:

Unmodified
Added
Removed
  • setup.py

    r173 r187  
    1818 
    1919    install_requires=[ 
    20         'Pylons>=0.9.6.1', 
     20        'Pylons>=0.9.6.1,<0.9.6.99', 
    2121        'SQLAlchemy>=0.4,<0.4.99', 
    22         'Genshi>=0.3', 
     22        'Genshi>=0.4', 
    2323        'pygooglechart>=0.2,<0.3', 
     24        'FormAlchemy>=1.0', 
    2425        # 'annotater>=0.1', 
    2526        ], 
  • shakespeare/config/routing.py

    r161 r187  
    77from pylons import config 
    88from routes import Mapper 
     9from formalchemy.ext.pylons import maps # routes generator 
    910 
    1011def make_map(): 
     
    1920    # CUSTOM ROUTES HERE 
    2021 
    21  
     22    # Map the /admin url to FA's AdminController 
     23    maps.admin_map(map, controller='admin', url='/admin') 
     24    # now main shakespeare routes 
    2225    map.connect('', controller='site', action='index') 
    2326    map.connect('marginalia/*url', controller='site', action='marginalia') 
     
    2528    map.connect(':controller/:action/:id') 
    2629    map.connect(':action', controller='site') 
     30 
    2731    map.connect('*url', controller='template', action='view') 
    2832 
  • shakespeare/tests/functional/test_site.py

    r151 r187  
    1010        print res 
    1111        assert "Home" in res 
    12         assert 'Welcome to the Open Shakespeare web interface' in res 
    1312 
    1413    def test_guide(self):