Permalink
Browse files

added LICENSE

  • Loading branch information...
1 parent 1f0bdb9 commit 9eaa481a46f98e4ec10b8bb9394525dc27485938 @mdipierro mdipierro committed Sep 1, 2012
Showing with 5 additions and 60 deletions.
  1. +1 −4 LICENSE
  2. +4 −3 README.md
  3. +0 −13 progress.log
  4. +0 −40 routes.example.py
View
@@ -1,4 +1 @@
-The web2py welcome app is licensed under public domain
-(except for the css and js files that it includes, which have their own third party licenses).
-
-You can modify this license when you add your own code.
+http://creativecommons.org/licenses/by-nc-nd/3.0/legalcode
View
@@ -1,6 +1,7 @@
# The official web2py book
-License: [Creative Commons BY-NC-ND](Non commerciale - Non opere derivate
-CC BY-NC-ND)
+License: [Creative Commons BY-NC-ND](http://creativecommons.org/licenses/by-nc-nd/3.0/legalcode)
-[Read it here](http://web2py.com)
+[Read the book online](http://web2py.com/books)
+
+The gitbub repo includes code and sources. The book sources are in the sources folder. You can contribute to the book by submitting patches.
View
@@ -1,13 +0,0 @@
-[2012-06-04 15:48:53] START
-[2012-06-04 15:48:53] EDIT welcome/controllers/default.py: 0
-[2012-06-04 15:48:55] EDIT welcome/controllers/default.py: 0
-[2012-06-04 15:48:56] EDIT welcome/controllers/default.py: 0
-[2012-06-04 15:48:57] EDIT welcome/controllers/default.py: 0
-[2012-06-04 15:48:58] EDIT welcome/controllers/default.py: 0
-[2012-06-04 15:49:01] EDIT welcome/controllers/default.py: 0
-[2012-06-04 15:49:24] EDIT welcome/controllers/default.py: 0
-[2012-06-04 15:52:02] EDIT welcome/controllers/default.py: 0
-[2012-06-04 15:56:25] EDIT welcome/controllers/default.py: 0
-[2012-06-04 16:00:51] EDIT welcome/controllers/default.py: 0
-[2012-06-04 16:01:36] EDIT welcome/controllers/default.py: 0
-[2012-06-04 16:01:55] EDIT welcome/controllers/default.py: 0
View
@@ -1,40 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-
-# This is an app-specific example router
-#
-# This simple router is used for setting languages from app/languages directory
-# as a part of the application path: app/<lang>/controller/function
-# Language from default.py or 'en' (if the file is not found) is used as
-# a default_language
-#
-# See <web2py-root-dir>/router.example.py for parameter's detail
-#-------------------------------------------------------------------------------------
-# To enable this route file you must do the steps:
-#
-# 1. rename <web2py-root-dir>/router.example.py to routes.py
-# 2. rename this APP/routes.example.py to APP/routes.py
-# (where APP - is your application directory)
-# 3. restart web2py (or reload routes in web2py admin interfase)
-#
-# YOU CAN COPY THIS FILE TO ANY APLLICATION'S ROOT DIRECTORY WITHOUT CHANGES!
-
-from fileutils import abspath
-from languages import read_possible_languages
-
-possible_languages = read_possible_languages(abspath('applications', app))
-#NOTE! app - is an application based router's parameter with name of an
-# application. E.g.'welcome'
-
-routers = {
- app: dict(
- default_language = possible_languages['default'][0],
- languages = [lang for lang in possible_languages
- if lang != 'default']
- )
-}
-
-#NOTE! To change language in your application using these rules add this line
-#in one of your models files:
-# if request.uri_language: T.force(request.uri_language)
-

0 comments on commit 9eaa481

Please sign in to comment.