Adust the as_table tag to render a pick link if appropriate
The templates are adjusted to pass on a 'reference' value, which
is the url_name of the view from which the entity should be picked.
The as_table (and related) function(s) construct and then pass on
this argument and enable takes_contex so that we have access to the
context of the enclosing template.
We only extract ReferenceProperties that end with '_link_id' since
that is how all RP's are currently named. It is not possible to
create a field with the same name as the RP, as GAE will try to
interpret it's contents as the key of an entity before even calling
any function we can override.
Patch by: Sverre Rabbelier
trunk/app should contain only the files needed for the actual Google AppEngine application "image". Support code that is not part of the applicationimage belongs elsewhere, such as in trunk/scripts, for example.= THIRD PARTY CODE =Third-party code that is *not* part of the application image (the Google AppEngine SDK in trunk/thirdparty/google_appengine, for example) belongs intrunk/thirdparty (see also trunk/thirdparty/README).Third-party code that is part of the application image is placed in a packagesubdirectory in trunk/app, such as trunk/app/django, for example.If the third-party package is a single Python source file, place the code intrunk/app/<package>/__init__.py, so that it can simply be imported using,for example:import feedparser(The trunk/app/feedparser package is a good example of this approach.)== THIRD PARTY LICENSES ==Third-party code must also include a license text file, named LICENSE orCOPYING, in the package subdirectory. If the third-party package subdirectoryis maintained automatically with a tool such as svn_load_dirs.pl (whichremoves files, such as license text files, that were added later to the"target" directory), place the license text file in the trunk/app directoryand add the package name as a suffix (LICENSE.django is an example of thiscase).