old_contents: 
  from tasks_data.models import TaskList, Task
  
  from api.views import APITasksHandler, APITaskHandler, APITaskListHandler, APITaskListsHandler
  
  API_PREFIX = '/api/0.1/'
  API_URLS = [
    (API_PREFIX + r't/(?P<task_id>[0-9]+)/?', APITaskHandler),
    (API_PREFIX + r't/?', APITasksHandler),
    (API_PREFIX + r'l/(?P<task_list_name>[a-z0-9][a-z0-9_-]*)/?', APITaskListHandler),
    (API_PREFIX + r'l/?', APITaskListsHandler),
  ]
  
  from public.views import MaintenanceWelcomeHandler, MaintenanceHandler
  
  MAINTENANCE_URLS = [
    (r'^/$', MaintenanceWelcomeHandler),
    (r'^/.+$', MaintenanceHandler),
  ]
  
  from public.views import WelcomeHandler, SignupHandler, ClosedHandler
  
  PUBLIC_URLS = [
    (r'^/$', WelcomeHandler),
    (r'^/signup/$', SignupHandler),
    (r'^/signup/closed.html$', ClosedHandler),
  ]
  
  from tasks.views import TaskListHandler, ProjectTaskListHandler, ContextTaskListHandler, DueTaskListHandler, \
    AddTaskListHandler, PurgeTaskListHandler, DeleteTaskListHandler, ArchivedListHandler, \
    TransparentSettingsHandler, SettingsHandler, RedirectHandler, \
    TaskHandler, UndoHandler
  
  list_pattern = r'^/l/(?P<task_list_name>[a-z0-9][a-z0-9_-]*)'
  TASKS_URLS = [  
    #  /l/
    (r'^/l/?$', AddTaskListHandler),
    
    # archived list
    (r'^/l/_archived/?$', ArchivedListHandler),
    
    # /l/list_name
    # /l/list_name/in/project
    # /l/list_name/at/context
    # /l/list_name/on/12-02-2005
    (list_pattern + r'/?$',TaskListHandler),
    # we can't use named parameters to differentiate urls so they need different handlers:
    (list_pattern + r'/for/(?P<project_index>[0-9a-z_-]+)/?$', ProjectTaskListHandler),
    (list_pattern + r'/at/(?P<context_name>[0-9a-z_-]+)/?$', ContextTaskListHandler),
    (list_pattern + r'/on/(?P<due_date>\d{2}-\d{2}-\d{2})/?$', DueTaskListHandler),
  
    # /username/l/list_name/delete
    (list_pattern + r'/delete/?$', DeleteTaskListHandler),
    
    # /l/list_name/purge
    (list_pattern + r'/purge/?$', PurgeTaskListHandler),
    
    (r'^/account/?$', SettingsHandler),
    (r'^/account/transparent/?$', TransparentSettingsHandler),
    
    #  /username/t/id => specific task
    (r'^/t/(?P<task_id>\d+)/?', TaskHandler),
    (r'^/t/$', TaskHandler),
  
    #  /u/id => undo
    (r'^/u/(?P<undo_id>\d+)/$', UndoHandler),
    
    (r'^/signin/?$', RedirectHandler),
  ]
  
  from application_handler import NotFoundHandler
  
  #ALL_URLS = API_URLS + PUBLIC_URLS + TASKS_URLS + [(r'^/.*', NotFoundHandler)]
  ALL_URLS = MAINTENANCE_URLS
    
new_contents: 
  from tasks_data.models import TaskList, Task
  
  from api.views import APITasksHandler, APITaskHandler, APITaskListHandler, APITaskListsHandler
  
  API_PREFIX = '/api/0.1/'
  API_URLS = [
    (API_PREFIX + r't/(?P<task_id>[0-9]+)/?', APITaskHandler),
    (API_PREFIX + r't/?', APITasksHandler),
    (API_PREFIX + r'l/(?P<task_list_name>[a-z0-9][a-z0-9_-]*)/?', APITaskListHandler),
    (API_PREFIX + r'l/?', APITaskListsHandler),
  ]
  
  from public.views import MaintenanceWelcomeHandler, MaintenanceHandler
  
  MAINTENANCE_URLS = [
    (r'^/$', MaintenanceWelcomeHandler),
    (r'^/.+$', MaintenanceHandler),
  ]
  
  from public.views import WelcomeHandler, SignupHandler, ClosedHandler
  
  PUBLIC_URLS = [
    (r'^/$', WelcomeHandler),
    (r'^/signup/$', SignupHandler),
    (r'^/signup/closed.html$', ClosedHandler),
  ]
  
  from tasks.views import TaskListHandler, ProjectTaskListHandler, ContextTaskListHandler, DueTaskListHandler, \
    AddTaskListHandler, PurgeTaskListHandler, DeleteTaskListHandler, ArchivedListHandler, \
    TransparentSettingsHandler, SettingsHandler, RedirectHandler, \
    TaskHandler, UndoHandler
  
  list_pattern = r'^/l/(?P<task_list_name>[a-z0-9][a-z0-9_-]*)'
  TASKS_URLS = [  
    #  /l/
    (r'^/l/?$', AddTaskListHandler),
    
    # archived list
    (r'^/l/_archived/?$', ArchivedListHandler),
    
    # /l/list_name
    # /l/list_name/in/project
    # /l/list_name/at/context
    # /l/list_name/on/12-02-2005
    (list_pattern + r'/?$',TaskListHandler),
    # we can't use named parameters to differentiate urls so they need different handlers:
    (list_pattern + r'/for/(?P<project_index>[0-9a-z_-]+)/?$', ProjectTaskListHandler),
    (list_pattern + r'/at/(?P<context_name>[0-9a-z_-]+)/?$', ContextTaskListHandler),
    (list_pattern + r'/on/(?P<due_date>\d{2}-\d{2}-\d{2})/?$', DueTaskListHandler),
  
    # /username/l/list_name/delete
    (list_pattern + r'/delete/?$', DeleteTaskListHandler),
    
    # /l/list_name/purge
    (list_pattern + r'/purge/?$', PurgeTaskListHandler),
    
    (r'^/account/?$', SettingsHandler),
    (r'^/account/transparent/?$', TransparentSettingsHandler),
    
    #  /username/t/id => specific task
    (r'^/t/(?P<task_id>\d+)/?', TaskHandler),
    (r'^/t/$', TaskHandler),
  
    #  /u/id => undo
    (r'^/u/(?P<undo_id>\d+)/$', UndoHandler),
    
    (r'^/signin/?$', RedirectHandler),
  ]
  
  from application_handler import NotFoundHandler
  
  ALL_URLS = API_URLS + PUBLIC_URLS + TASKS_URLS + [(r'^/.*', NotFoundHandler)]
  #ALL_URLS = MAINTENANCE_URLS
    
subject: Add latest non-maintenance version.