Changes

Jump to: navigation, search

GEPS 013: Gramps Webapp

231 bytes removed, 10:16, 9 November 2013
svn to git
=== Models/Views ===
Here is the model that defines the Person table from [http://svn.code.sf.net/p/gramps/code/trunk/{{Code Base}}gramps/webapp/grampsdb/models.py gramps/webapp/grampsdb/models.py]:
<pre>
=== Templates ===
Templates are used to describe ''what'' to display. Here is a template from [http://svn.code.sf.net/p/gramps/code/trunk/{{Code Base}}data/templates/main_page.html data/templates/main_page.html]:
<pre>
There are two subdirectories and two files of interest to the Gramps webapp:
# http://gramps.svn.sourceforge.net/viewvc/gramps/trunk/src/{{Code Base}}data/templates/ - HTML templates# http://gramps.svn.sourceforge.net/viewvc/{{Code Base}}gramps/trunk/src/webapp/ - Webapp main directory## http://{{Code Base}}gramps.svn.sourceforge.net/viewvc/gramps/trunk/src/webapp/libdjango.py?view=markup - library interface## http://gramps.svn.sourceforge.net/viewvc/{{Code Base}}gramps/trunk/src/webapp/grampsdb - gramps table models
# http://gramps-addons.svn.sourceforge.net/viewvc/gramps-addons/trunk/contrib/Django/ExportDjango.py?view=markup - Exporter
# http://gramps-addons.svn.sourceforge.net/viewvc/gramps-addons/trunk/contrib/Django/ImportDjango.py?view=markup - Importer

Navigation menu