]> git.parisson.com Git - telemeta-data.git/commitdiff
add django sandbox config
authoryomguy <yomguy@3bf09e05-f825-4182-b9bc-eedd7160adf0>
Wed, 11 May 2011 23:31:18 +0000 (23:31 +0000)
committeryomguy <yomguy@3bf09e05-f825-4182-b9bc-eedd7160adf0>
Wed, 11 May 2011 23:31:18 +0000 (23:31 +0000)
git-svn-id: http://svn.parisson.org/svn/crem@180 3bf09e05-f825-4182-b9bc-eedd7160adf0

65 files changed:
trunk/django/settings.py [new file with mode: 0644]
trunk/django/telemeta-pages/en/home.rst [new file with mode: 0644]
trunk/django/telemeta-pages/en/home_img.jpg [new file with mode: 0644]
trunk/django/telemeta-pages/fr/home.rst [new file with mode: 0644]
trunk/django/telemeta-pages/fr/home_img.jpg [new file with mode: 0644]
trunk/django/telemeta-pages/fr/legal_notices.rst [new file with mode: 0644]
trunk/django/templates/admin/base.html [new file with mode: 0644]
trunk/django/templates/admin/base_site.html [new file with mode: 0644]
trunk/django/templates/telemeta/admin.html [new file with mode: 0644]
trunk/django/templates/telemeta/admin_enumerations.html [new file with mode: 0644]
trunk/django/templates/telemeta/admin_general.html [new file with mode: 0644]
trunk/django/templates/telemeta/admin_instruments.html [new file with mode: 0644]
trunk/django/templates/telemeta/admin_users.html [new file with mode: 0644]
trunk/django/templates/telemeta/base.html [new file with mode: 0644]
trunk/django/templates/telemeta/base_site.html [new file with mode: 0644]
trunk/django/templates/telemeta/base_xspf.xml [new file with mode: 0644]
trunk/django/templates/telemeta/collection.m3u [new file with mode: 0644]
trunk/django/templates/telemeta/collection_add.html [new file with mode: 0644]
trunk/django/templates/telemeta/collection_detail.html [new file with mode: 0644]
trunk/django/templates/telemeta/collection_detail_add.html [new file with mode: 0644]
trunk/django/templates/telemeta/collection_detail_dc.html [new file with mode: 0644]
trunk/django/templates/telemeta/collection_edit.html [new file with mode: 0644]
trunk/django/templates/telemeta/collection_list.html [new file with mode: 0644]
trunk/django/templates/telemeta/collection_xspf.xml [new file with mode: 0644]
trunk/django/templates/telemeta/country_info.html [new file with mode: 0644]
trunk/django/templates/telemeta/enumeration_edit.html [new file with mode: 0644]
trunk/django/templates/telemeta/enumeration_edit_value.html [new file with mode: 0644]
trunk/django/templates/telemeta/flatpage.html [new file with mode: 0644]
trunk/django/templates/telemeta/geo_continents.html [new file with mode: 0644]
trunk/django/templates/telemeta/geo_countries.html [new file with mode: 0644]
trunk/django/templates/telemeta/geo_country_collections.html [new file with mode: 0644]
trunk/django/templates/telemeta/geo_country_items.html [new file with mode: 0644]
trunk/django/templates/telemeta/home.html [new file with mode: 0644]
trunk/django/templates/telemeta/inc/collection_list.html [new file with mode: 0644]
trunk/django/templates/telemeta/inc/dublincore.html [new file with mode: 0644]
trunk/django/templates/telemeta/inc/mediaitem_list.html [new file with mode: 0644]
trunk/django/templates/telemeta/inc/module_revisions.html [new file with mode: 0644]
trunk/django/templates/telemeta/index.html [new file with mode: 0644]
trunk/django/templates/telemeta/instrument_edit.html [new file with mode: 0644]
trunk/django/templates/telemeta/instrument_edit_value.html [new file with mode: 0644]
trunk/django/templates/telemeta/login.html [new file with mode: 0644]
trunk/django/templates/telemeta/mediaitem_add.html [new file with mode: 0644]
trunk/django/templates/telemeta/mediaitem_copy.html [new file with mode: 0644]
trunk/django/templates/telemeta/mediaitem_detail.html [new file with mode: 0644]
trunk/django/templates/telemeta/mediaitem_detail_dc.html [new file with mode: 0644]
trunk/django/templates/telemeta/mediaitem_edit.html [new file with mode: 0644]
trunk/django/templates/telemeta/mediaitem_list.html [new file with mode: 0644]
trunk/django/templates/telemeta/mediaitem_player.html [new file with mode: 0644]
trunk/django/templates/telemeta/mediaitem_xspf.xml [new file with mode: 0644]
trunk/django/templates/telemeta/messages.html [new file with mode: 0644]
trunk/django/templates/telemeta/paginator.html [new file with mode: 0644]
trunk/django/templates/telemeta/profile_detail.html [new file with mode: 0644]
trunk/django/templates/telemeta/profile_edit.html [new file with mode: 0644]
trunk/django/templates/telemeta/registration/logged_out.html [new file with mode: 0644]
trunk/django/templates/telemeta/registration/password_change_done.html [new file with mode: 0644]
trunk/django/templates/telemeta/registration/password_change_form.html [new file with mode: 0644]
trunk/django/templates/telemeta/registration/password_reset_complete.html [new file with mode: 0644]
trunk/django/templates/telemeta/registration/password_reset_confirm.html [new file with mode: 0644]
trunk/django/templates/telemeta/registration/password_reset_done.html [new file with mode: 0644]
trunk/django/templates/telemeta/registration/password_reset_email.html [new file with mode: 0644]
trunk/django/templates/telemeta/registration/password_reset_form.html [new file with mode: 0644]
trunk/django/templates/telemeta/search_criteria.html [new file with mode: 0644]
trunk/django/templates/telemeta/search_results.html [new file with mode: 0644]
trunk/django/urls.py [new file with mode: 0644]
trunk/import/migration/README

diff --git a/trunk/django/settings.py b/trunk/django/settings.py
new file mode 100644 (file)
index 0000000..dfd460f
--- /dev/null
@@ -0,0 +1,137 @@
+# -*- coding: utf-8 -*-
+# Django settings for sandbox project.
+
+DEBUG = True
+TEMPLATE_DEBUG = DEBUG
+
+ADMINS = (
+    ('Guillaume Pellerin', 'yomguy@parisson.com'),
+)
+
+MANAGERS = ADMINS
+
+DATABASES = {
+    'default': {
+        'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+#        'OPTIONS': { 'init_command': 'SET storage_engine=INNODB', },
+        'NAME': 'crem_gamma',                      # Or path to database file if using sqlite3.
+        'USER': 'root',                      # Not used with sqlite3.
+        'PASSWORD': 'washncellarm',                  # Not used with sqlite3.
+        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
+        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
+    }
+}
+
+# Local time zone for this installation. Choices can be found here:
+# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
+# although not all choices may be available on all operating systems.
+# On Unix systems, a value of None will cause Django to use the same
+# timezone as the operating system.
+# If running in a Windows environment this must be set to the same as your
+# system time zone.
+TIME_ZONE = 'France/Paris'
+
+# Language code for this installation. All choices can be found here:
+# http://www.i18nguy.com/unicode/language-identifiers.html
+#LANGUAGE_CODE = 'fr_FR'
+LANGUAGES = [ ('fr', 'French'),
+             ('en', 'English'),
+]
+
+SITE_ID = 1
+
+# If you set this to False, Django will make some optimizations so as not
+# to load the internationalization machinery.
+USE_I18N = True
+
+# If you set this to False, Django will not format dates, numbers and
+# calendars according to the current locale
+USE_L10N = True
+
+# Absolute path to the directory that holds media.
+# Example: "/home/media/media.lawrence.com/"
+MEDIA_ROOT = '/home/dev/telemeta/sandboxes/sandbox_generic/media/'
+
+# URL that handles the media served from MEDIA_ROOT. Make sure to use a
+# trailing slash if there is a path component (optional in other cases).
+# Examples: "http://media.lawrence.com", "http://example.com/media/"
+MEDIA_URL = 'http://telemetagen.parisson.com/media/'
+
+# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
+# trailing slash.
+# Examples: "http://foo.com/media/", "/media/".
+ADMIN_MEDIA_PREFIX = 'http://wm22.parisson.com/django/media/'
+
+# Make this unique, and don't share it with anybody.
+SECRET_KEY = 'a8l7%06wr2k+3=%#*#@#rvop2mmzko)44%7k(zx%lls^ihm9^5'
+
+# List of callables that know how to import templates from various sources.
+TEMPLATE_LOADERS = (
+    'django.template.loaders.filesystem.Loader',
+    'django.template.loaders.app_directories.Loader',
+#     'django.template.loaders.eggs.Loader',
+)
+
+#from pybb.settings import *
+
+MIDDLEWARE_CLASSES = (
+    'django.middleware.common.CommonMiddleware',
+    'django.contrib.sessions.middleware.SessionMiddleware',
+    'django.middleware.csrf.CsrfViewMiddleware',
+    'django.contrib.auth.middleware.AuthenticationMiddleware',
+    'django.contrib.messages.middleware.MessageMiddleware',
+    'django.middleware.locale.LocaleMiddleware',
+#    'pybb.middleware.PybbMiddleware',
+)
+
+ROOT_URLCONF = 'sandbox_generic.urls'
+
+TEMPLATE_DIRS = (
+    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
+    # Always use forward slashes, even on Windows.
+    # Don't forget to use absolute paths, not relative paths.
+    '/home/dev/telemeta/sandboxes/sandbox_generic/templates/',
+)
+
+INSTALLED_APPS = (
+    'django.contrib.auth',
+    'django.contrib.contenttypes',
+    'django.contrib.sessions',
+    'django.contrib.sites',
+    'django.contrib.messages',
+    'django.contrib.admin',
+    'telemeta',
+    'jsonrpc',
+#    'pybb',
+)
+
+TEMPLATE_CONTEXT_PROCESSORS = (
+    'django.core.context_processors.request',
+    'django.contrib.auth.context_processors.auth',
+)
+
+LOCALE_PATHS = (
+    '/home/dev/telemeta/telemeta/telemeta/locale',
+)
+
+
+TELEMETA_ORGANIZATION = 'Parisson'
+TELEMETA_SUBJECTS = ('telemeta', 'tests')
+#TELEMETA_GMAP_KEY = 'ABQIAAAArg7eSfnfTkBRma8glnGrlxTTmRMP7-eYZsBYJ-PvZl_yIepBeRTkyT5vhsplIufBBcU2b3jjLSsn2A'
+TELEMETA_GMAP_KEY = 'ABQIAAAArg7eSfnfTkBRma8glnGrlxRVbMrhnNNvToCbZQtWdaMbZTA_3RRGObu5PDoiBImgalVnnLU2yN4RMA'
+TELEMETA_DOWNLOAD_ENABLED = False
+TELEMETA_STREAMING_FORMATS = ('mp3', 'ogg')
+TELEMETA_PUBLIC_ACCESS_PERIOD = 51
+AUTH_PROFILE_MODULE = 'telemeta.userprofile'
+
+LOGIN_URL = '/login'
+LOGIN_REDIRECT_URL = '/'
+EMAIL_HOST = 'smtp.free.fr'
+DEFAULT_FROM_EMAIL = 'webmaster@parisson.com'
+
+TELEMETA_CACHE_DIR = MEDIA_ROOT + 'cache'
+TELEMETA_EXPORT_CACHE_DIR = TELEMETA_CACHE_DIR + "/export"
+TELEMETA_DATA_CACHE_DIR = TELEMETA_CACHE_DIR + "/data"
+CACHE_BACKEND = "file://" + TELEMETA_CACHE_DIR + "/data"
+SESSION_EXPIRE_AT_BROWSER_CLOSE = False
+
diff --git a/trunk/django/telemeta-pages/en/home.rst b/trunk/django/telemeta-pages/en/home.rst
new file mode 100644 (file)
index 0000000..599992a
--- /dev/null
@@ -0,0 +1,21 @@
+=========================================================
+Archives of the Research Center in Ethnomusicology (CREM)
+=========================================================
+
+| 
+
+The establishment of the `CREM <http://www.crem-cnrs.fr>`_’s audio archives is the result of a long history of scientific research on music. Since the birth of ethnomusicology (then "comparative musicology"), which coincided with the invention of the first recorders in the late nineteenth century, recording music materials and their classification and preservation are central in our knowledge of the musical Man. 
+
+.. image:: home_img.jpg
+    :align: left
+    
+With the foundation of the Sound Archive at the Musée d’Ethnographie du Trocadéro by André Schaeffner in 1932 (which became the Sound Archive of the Musée de l’Homme in 1937) and the creation in 1967 of "Laboratoire d’Analyse sonore" on Gilbert Rouget initiative and the creation of a research team from the `CNRS <http://www.cnrs.fr/>`_ (Scientific Research National Center in France) in 1968, both at the `Musée de l’Homme <http://www.museedelhomme.fr/>`_, the conservation of this vast archives collection was more closely related to research : it is powered by the fieldworks of researchers on all continents; collections can serve for research, diachronic and synchronic comparisons, the preparation of new fieldworks and the training of Ph.D students. In 1985, the `CNRS <http://www.cnrs.fr/>`_ and the `Musée National d'Histoire Naturelle <http://www.mnhn.fr/>`_ (National Museum of Natural History) decided to join efforts to preserve this vast archives, therefore called "Sound Archives of CNRS - Musée de l'Homme". A small portion of these archives has been published in 78s (Vox Africa, etc ...), 33 rpm discs and CD (Chant du Monde, Harmonia Mundi). Currently, analogic media are being digitalized with the assistance of the Ministry of Culture and National Library of France. With the installation of the `Center for Research in Ethnomusicology <http://www.crem-cnrs.fr>`_ (CREM, Department of Ethnology and Comparative Sociology, CNRS UMR 7186) at the University of Paris Ouest-Nanterre in 2009, and the opening of the `Telemeta <http://telemeta.org>`_ platform in 2010, this collection sound archives from the era of the Internet. 
+
+The archives of CREM, the most important in Europe, are distinguished by their wealth:
+
+ * Nearly 3,500 hours of recordings of unpublished field.
+ * Approximately 3700 hours of material published (more than 5000 discs, many of which are very rare).
+
+The collaborative platform `Telemeta <http://telemeta.org>`_ aims to make these archives available to researchers and to the extent possible, the public, in compliance with the intellectual and moral rights of musicians and collectors. Developed with the support of the program `TGE-Adonis <http://www.tge-adonis.fr/>`_ of the `CNRS <http://www.cnrs.fr/>`_, allows researchers to exchange data online with communities producing their music in their home countries, including through collaborative tools like markers , spaces, comments, etc...
+
+This site is managed by the `CREM <http://www.crem-cnrs.fr>`_. All collaborations are welcome to enrich and enhance this precious musical heritage common to all humanity. Currently, a thousand hours is searchable by code or `access on site and CREM (Université Paris Ouest - Nanterre - La Défense, Building C, Ground Floor, Room 20) <http://goo.gl/maps/ZgHg>`_, and the Central Library Muséum National d'Histoire Naturelle, and the Bibliothèque François Mitterand (garden).
\ No newline at end of file
diff --git a/trunk/django/telemeta-pages/en/home_img.jpg b/trunk/django/telemeta-pages/en/home_img.jpg
new file mode 100644 (file)
index 0000000..8373834
Binary files /dev/null and b/trunk/django/telemeta-pages/en/home_img.jpg differ
diff --git a/trunk/django/telemeta-pages/fr/home.rst b/trunk/django/telemeta-pages/fr/home.rst
new file mode 100644 (file)
index 0000000..fd7f78f
--- /dev/null
@@ -0,0 +1,21 @@
+==========================================================
+Archives du Centre de Recherche en Ethnomusicologie (CREM)
+==========================================================
+
+| 
+
+La constitution des archives sonores du `CREM <http://www.crem-cnrs.fr>`_ est l’aboutissement d’une longue histoire de la recherche scientifique sur la musique. Depuis la naissance de l’ethnomusicologie (alors « musicologie comparée »), qui coïncida avec l'invention des premiers appareils enregistreurs à la fin du XIXe siècle, l'enregistrement des documents musicaux, ainsi que leur classification et leur conservation occupent une place centrale dans notre connaissance de l’Homme musical.
+
+.. image:: home_img.jpg
+    :align: left
+
+Avec l'ouverture de la Phonothèque au Musée d'Ethnographie du Trocadéro par André Schaeffner en 1932 (qui devint la Phonothèque du Musée de l’Homme en 1937) puis la création en 1967 du "Laboratoire d'analyse du son" à l'initiative de Gilbert Rouget, ainsi que la création d'une équipe de recherche du `CNRS <http://www.cnrs.fr/>`_ en 1968, tous deux au `Musée de l’Homme <http://www.museedelhomme.fr/>`_, la conservation de ce vaste fonds d'archives sonores fut plus étroitement liée à la recherche : celui-ci est alimenté par les missions de terrain des chercheurs sur tous les continents ; les collections permettent à la fois des recherches de laboratoire, des comparaisons diachroniques et synchroniques, la préparation de nouveaux terrains et la formation des doctorants. En 1985, le `CNRS <http://www.cnrs.fr/>`_ et le `Musée National d'Histoire Naturelle <http://www.mnhn.fr/>`_ décidèrent de joindre leurs efforts pour conserver ce vaste fonds d'archives, baptisé dès lors "Archives sonores CNRS - Musée de l'Homme". Une petite partie de ces archives a été publiée en disques 78 tours (Africa Vox, etc…), disques 33 tours  et en CD (Chant du Monde, Harmonia Mundi). Actuellement, les supports analogiques sont en cours de numérisation grâce à l'aide du Ministère de la Culture et de la Bibliothèque Nationale de France, Avec l’installation du `Centre de Recherche en Ethnomusicologie <http://www.crem-cnrs.fr>`_ (CREM, `Laboratoire d'Ethnologie et de Sociologie Comparative <http://www.u-paris10.fr/LESC/0/fiche___laboratoire/&RH=rec_lab>`_, UMR 7186) à l’Université de Paris Ouest - Nanterre La Défense en 2009, et l’ouverture de la plate-forme `Telemeta <http://telemeta.org>`_ en 2011, ce fonds d’archives sonores entre dans l’ère de l'internet.
+
+Les archives du CREM, parmi les plus importantes d’Europe, se distinguent par leur richesse :
+
+ * près de 3500 heures d'enregistrements de terrain non publiés.
+ * environ 3700 heures de documents publiés (plus de 5000 disques dont beaucoup sont très rares).
+
+La plateforme collaborative `Telemeta <http://telemeta.org>`_ vise à rendre ces archives accessibles aux chercheurs et, dans la mesure du possible, au public, dans le respect des droits intellectuels et moraux des musiciens et des collecteurs. Mise au point grâce au soutien du programme `TGE-Adonis <http://www.tge-adonis.fr/>`_ du `CNRS <http://www.cnrs.fr/>`_, elle permet aux chercheurs d'échanger les données en ligne, avec les communautés productrices de ces musiques dans leur pays d'origine, notamment au moyen d’outils collaboratifs comme des marqueurs temporels, des espaces de commentaires, etc... 
+
+La gestion de la plateforme est assurée par le `CREM <http://www.crem-cnrs.fr>`_. Le site accueille toutes les collaborations visant à enrichir et valoriser ce précieux patrimoine musical commun à toute l'Humanité. Actuellement, un millier d’heures est consultable en ligne avec un code d’accès, mais aussi `sur place au CREM (Université Paris-Ouest Nanterre-La Défense, bâtiment C, rez-de-chaussée, pièce 20) <http://goo.gl/maps/ZgHg>`_, ainsi qu’à la Bibliothèque centrale du Muséum National d’Histoire Naturelle, et à la Bibliothèque François Mitterand (rez de jardin).
diff --git a/trunk/django/telemeta-pages/fr/home_img.jpg b/trunk/django/telemeta-pages/fr/home_img.jpg
new file mode 100644 (file)
index 0000000..8373834
Binary files /dev/null and b/trunk/django/telemeta-pages/fr/home_img.jpg differ
diff --git a/trunk/django/telemeta-pages/fr/legal_notices.rst b/trunk/django/telemeta-pages/fr/legal_notices.rst
new file mode 100644 (file)
index 0000000..39bfa8a
--- /dev/null
@@ -0,0 +1,35 @@
+=====================
+Mentions Légales
+=====================
+
+**Editeur du site :**
+
+ | Centre de Recherche en Ethnomusicologie (CREM - LESC UMR 7186 CNRS) 
+ | MAE - 21, allée de l'Université
+ | 2023 Nanterre cedex
+
+**Directeur de publication :**
+
+ | Jean Lambert (directeur du CREM)
+ | e-mail : lambert (at) mnhn.fr
+
+**Chef de projet et conception :**
+
+ | Joséphine Simonnot (CREM)
+ | e-mail : josephine.simonnot (at) mae.u-paris10.fr
+**Responsable des archives du CREM :**
+
+ | Aude Da Cruz-Lima (CREM)
+ | e-mail : aude.da-cruz-lima (at) mae.u-paris10.fr
+**Chef du développement et conception:**
+
+ | Guillaume Pellerin (`Parisson <http://parisson.com>`_)
+ | e-mail : guillaume.pellerin (at) parisson.com
+
+| **COPIE DES ARCHIVES SONORES INTERDITE**
+| **UTILISATION COMMERCIALE DES ARCHIVES SONORES INTERDITE**
+
+
+
diff --git a/trunk/django/templates/admin/base.html b/trunk/django/templates/admin/base.html
new file mode 100644 (file)
index 0000000..533f036
--- /dev/null
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
+<head>
+<title>{% block title %}{% endblock %}</title>
+<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" />
+{% block extrastyle %}{% endblock %}
+<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{% block stylesheet_ie %}{% load adminmedia %}{% admin_media_prefix %}css/ie.css{% endblock %}" /><![endif]-->
+{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% admin_media_prefix %}css/rtl.css{% endblock %}" />{% endif %}
+<script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";</script>
+{% block extrahead %}{% endblock %}
+{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}
+</head>
+{% load i18n %}
+
+<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}">
+
+<!-- Container -->
+<div id="container">
+
+    {% if not is_popup %}
+    {% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a>{% if title %} &rsaquo; {{ title }}{% endif %}</div>{% endblock %}
+    {% endif %}
+
+        {% if messages %}
+        <ul class="messagelist">{% for message in messages %}
+          <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
+       {% endfor %}</ul>
+        {% endif %}
+
+    <!-- Content -->
+    <div id="content" class="{% block coltype %}colM{% endblock %}">
+        {% block pretitle %}{% endblock %}
+        {% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %}
+        {% block content %}
+        {% block object-tools %}{% endblock %}
+        {{ content }}
+        {% endblock %}
+        {% block sidebar %}{% endblock %}
+        <br class="clear" />
+    </div>
+    <!-- END Content -->
+
+    {% block footer %}<div id="footer"></div>{% endblock %}
+</div>
+<!-- END Container -->
+
+</body>
+</html>
diff --git a/trunk/django/templates/admin/base_site.html b/trunk/django/templates/admin/base_site.html
new file mode 100644 (file)
index 0000000..966fef7
--- /dev/null
@@ -0,0 +1,10 @@
+{% extends "admin/base.html" %}
+{% load i18n %}
+
+{% block title %}{{ title }} | {% trans 'Telemta site admin' %}{% endblock %}
+
+{% block branding %}
+<h1 id="site-name">{% trans 'Telemeta administration' %}</h1>
+{% endblock %}
+
+{% block nav-global %}{% endblock %}
diff --git a/trunk/django/templates/telemeta/admin.html b/trunk/django/templates/telemeta/admin.html
new file mode 100644 (file)
index 0000000..a5334e8
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/admin.html" %}
diff --git a/trunk/django/templates/telemeta/admin_enumerations.html b/trunk/django/templates/telemeta/admin_enumerations.html
new file mode 100644 (file)
index 0000000..1d1dd2d
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/admin_enumerations.html" %}
diff --git a/trunk/django/templates/telemeta/admin_general.html b/trunk/django/templates/telemeta/admin_general.html
new file mode 100644 (file)
index 0000000..1154dc2
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/admin_general.html" %}
diff --git a/trunk/django/templates/telemeta/admin_instruments.html b/trunk/django/templates/telemeta/admin_instruments.html
new file mode 100644 (file)
index 0000000..dd7e960
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/admin_instruments.html" %}
diff --git a/trunk/django/templates/telemeta/admin_users.html b/trunk/django/templates/telemeta/admin_users.html
new file mode 100644 (file)
index 0000000..774d791
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/admin_users.html" %}
diff --git a/trunk/django/templates/telemeta/base.html b/trunk/django/templates/telemeta/base.html
new file mode 100644 (file)
index 0000000..0409ceb
--- /dev/null
@@ -0,0 +1,5 @@
+{% extends "telemeta_default/base.html" %}
+
+{% block logo %}
+<a href="{% url telemeta-home %}"><img src="{% url telemeta-images "logo_crem.png" %}" alt="CREM" /></a>
+{% endblock %}
\ No newline at end of file
diff --git a/trunk/django/templates/telemeta/base_site.html b/trunk/django/templates/telemeta/base_site.html
new file mode 100644 (file)
index 0000000..cab21a0
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/base_site.html" %}
diff --git a/trunk/django/templates/telemeta/base_xspf.xml b/trunk/django/templates/telemeta/base_xspf.xml
new file mode 100644 (file)
index 0000000..e234ed5
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/base_xspf.xml" %}
diff --git a/trunk/django/templates/telemeta/collection.m3u b/trunk/django/templates/telemeta/collection.m3u
new file mode 100644 (file)
index 0000000..59de8ff
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/collection.m3u" %}
diff --git a/trunk/django/templates/telemeta/collection_add.html b/trunk/django/templates/telemeta/collection_add.html
new file mode 100644 (file)
index 0000000..962155b
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/collection_add.html" %}
diff --git a/trunk/django/templates/telemeta/collection_detail.html b/trunk/django/templates/telemeta/collection_detail.html
new file mode 100644 (file)
index 0000000..66822ac
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/collection_detail.html" %}
diff --git a/trunk/django/templates/telemeta/collection_detail_add.html b/trunk/django/templates/telemeta/collection_detail_add.html
new file mode 100644 (file)
index 0000000..27051a1
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/collection_detail_add.html" %}
diff --git a/trunk/django/templates/telemeta/collection_detail_dc.html b/trunk/django/templates/telemeta/collection_detail_dc.html
new file mode 100644 (file)
index 0000000..297fc2a
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/collection_detail_dc.html" %}
diff --git a/trunk/django/templates/telemeta/collection_edit.html b/trunk/django/templates/telemeta/collection_edit.html
new file mode 100644 (file)
index 0000000..e2b1e09
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/collection_edit.html" %}
diff --git a/trunk/django/templates/telemeta/collection_list.html b/trunk/django/templates/telemeta/collection_list.html
new file mode 100644 (file)
index 0000000..50993a5
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/collection_list.html" %}
diff --git a/trunk/django/templates/telemeta/collection_xspf.xml b/trunk/django/templates/telemeta/collection_xspf.xml
new file mode 100644 (file)
index 0000000..5a33170
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/collection_xspf.xml" %}
diff --git a/trunk/django/templates/telemeta/country_info.html b/trunk/django/templates/telemeta/country_info.html
new file mode 100644 (file)
index 0000000..15159c6
--- /dev/null
@@ -0,0 +1,2 @@
+{% extends "telemeta_default/country_info.html" %}
+
diff --git a/trunk/django/templates/telemeta/enumeration_edit.html b/trunk/django/templates/telemeta/enumeration_edit.html
new file mode 100644 (file)
index 0000000..dbe28b1
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/enumeration_edit.html" %}
diff --git a/trunk/django/templates/telemeta/enumeration_edit_value.html b/trunk/django/templates/telemeta/enumeration_edit_value.html
new file mode 100644 (file)
index 0000000..67bbc44
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/enumeration_edit_value.html" %}
diff --git a/trunk/django/templates/telemeta/flatpage.html b/trunk/django/templates/telemeta/flatpage.html
new file mode 100644 (file)
index 0000000..9ec14df
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/flatpage.html" %}
diff --git a/trunk/django/templates/telemeta/geo_continents.html b/trunk/django/templates/telemeta/geo_continents.html
new file mode 100644 (file)
index 0000000..c0f0bb4
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/geo_continents.html" %}
diff --git a/trunk/django/templates/telemeta/geo_countries.html b/trunk/django/templates/telemeta/geo_countries.html
new file mode 100644 (file)
index 0000000..23d0124
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/geo_countries.html" %}
diff --git a/trunk/django/templates/telemeta/geo_country_collections.html b/trunk/django/templates/telemeta/geo_country_collections.html
new file mode 100644 (file)
index 0000000..86e9b5d
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/geo_country_collections.html" %}
diff --git a/trunk/django/templates/telemeta/geo_country_items.html b/trunk/django/templates/telemeta/geo_country_items.html
new file mode 100644 (file)
index 0000000..ca2104f
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/geo_country_items.html" %}
diff --git a/trunk/django/templates/telemeta/home.html b/trunk/django/templates/telemeta/home.html
new file mode 100644 (file)
index 0000000..f415f74
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/home.html" %}
diff --git a/trunk/django/templates/telemeta/inc/collection_list.html b/trunk/django/templates/telemeta/inc/collection_list.html
new file mode 100644 (file)
index 0000000..e5ca786
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/inc/collection_list.html" %}
diff --git a/trunk/django/templates/telemeta/inc/dublincore.html b/trunk/django/templates/telemeta/inc/dublincore.html
new file mode 100644 (file)
index 0000000..2c6134b
--- /dev/null
@@ -0,0 +1,2 @@
+{% extends "telemeta_default/inc/dublincore.html" %}
+
diff --git a/trunk/django/templates/telemeta/inc/mediaitem_list.html b/trunk/django/templates/telemeta/inc/mediaitem_list.html
new file mode 100644 (file)
index 0000000..fd2269c
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/inc/mediaitem_list.html" %}
diff --git a/trunk/django/templates/telemeta/inc/module_revisions.html b/trunk/django/templates/telemeta/inc/module_revisions.html
new file mode 100644 (file)
index 0000000..2b8503f
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/inc/module_revisions.html" %}
diff --git a/trunk/django/templates/telemeta/index.html b/trunk/django/templates/telemeta/index.html
new file mode 100644 (file)
index 0000000..535ee10
--- /dev/null
@@ -0,0 +1,18 @@
+{% extends "telemeta_default/index.html" %}
+{% load telemeta_utils %}
+{% load i18n %}
+
+{% block modules %}
+
+{{ block.super }}
+<div id="module" class="module"> 
+    <h3><img src="/images/module_playlist.png" style="vertical-align:middle" /> 
+    Partenaires</h3><br /> 
+    <div style="background-color: white; padding: 1ex;"> 
+    <img class="image-link" src="http://files.parisson.com/img/logos/logo-CNRS.png"> 
+    <img class="image-link" src="http://files.parisson.com/img/logos/logo_mcc_2.png"> 
+    <img class="image-link" src="http://files.parisson.com/img/logos/logo-adonis.jpg"> 
+    </div> 
+</div> 
+
+{% endblock %}
diff --git a/trunk/django/templates/telemeta/instrument_edit.html b/trunk/django/templates/telemeta/instrument_edit.html
new file mode 100644 (file)
index 0000000..a612c3f
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/instrument_edit.html" %}
diff --git a/trunk/django/templates/telemeta/instrument_edit_value.html b/trunk/django/templates/telemeta/instrument_edit_value.html
new file mode 100644 (file)
index 0000000..247ec96
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/instrument_edit_value.html" %}
diff --git a/trunk/django/templates/telemeta/login.html b/trunk/django/templates/telemeta/login.html
new file mode 100644 (file)
index 0000000..e6c64d5
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/login.html" %}
diff --git a/trunk/django/templates/telemeta/mediaitem_add.html b/trunk/django/templates/telemeta/mediaitem_add.html
new file mode 100644 (file)
index 0000000..954910d
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/mediaitem_add.html" %}
diff --git a/trunk/django/templates/telemeta/mediaitem_copy.html b/trunk/django/templates/telemeta/mediaitem_copy.html
new file mode 100644 (file)
index 0000000..154f7a0
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/mediaitem_copy.html" %}
diff --git a/trunk/django/templates/telemeta/mediaitem_detail.html b/trunk/django/templates/telemeta/mediaitem_detail.html
new file mode 100644 (file)
index 0000000..b09e6a8
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/mediaitem_detail.html" %}
diff --git a/trunk/django/templates/telemeta/mediaitem_detail_dc.html b/trunk/django/templates/telemeta/mediaitem_detail_dc.html
new file mode 100644 (file)
index 0000000..7924eeb
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/mediaitem_detail_dc.html" %}
diff --git a/trunk/django/templates/telemeta/mediaitem_edit.html b/trunk/django/templates/telemeta/mediaitem_edit.html
new file mode 100644 (file)
index 0000000..db8aacd
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/mediaitem_edit.html" %}
diff --git a/trunk/django/templates/telemeta/mediaitem_list.html b/trunk/django/templates/telemeta/mediaitem_list.html
new file mode 100644 (file)
index 0000000..6ee2046
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/mediaitem_list.html" %}
diff --git a/trunk/django/templates/telemeta/mediaitem_player.html b/trunk/django/templates/telemeta/mediaitem_player.html
new file mode 100644 (file)
index 0000000..2b8b1a1
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/mediaitem_player.html" %}
diff --git a/trunk/django/templates/telemeta/mediaitem_xspf.xml b/trunk/django/templates/telemeta/mediaitem_xspf.xml
new file mode 100644 (file)
index 0000000..f4b9b65
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/mediaitem_xspf.xml" %}
diff --git a/trunk/django/templates/telemeta/messages.html b/trunk/django/templates/telemeta/messages.html
new file mode 100644 (file)
index 0000000..787f796
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/messages.html" %}
diff --git a/trunk/django/templates/telemeta/paginator.html b/trunk/django/templates/telemeta/paginator.html
new file mode 100644 (file)
index 0000000..98e2779
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/paginator.html" %}
diff --git a/trunk/django/templates/telemeta/profile_detail.html b/trunk/django/templates/telemeta/profile_detail.html
new file mode 100644 (file)
index 0000000..4561152
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/profile_detail.html" %}
diff --git a/trunk/django/templates/telemeta/profile_edit.html b/trunk/django/templates/telemeta/profile_edit.html
new file mode 100644 (file)
index 0000000..5b95280
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/profile_edit.html" %}
diff --git a/trunk/django/templates/telemeta/registration/logged_out.html b/trunk/django/templates/telemeta/registration/logged_out.html
new file mode 100644 (file)
index 0000000..12e792a
--- /dev/null
@@ -0,0 +1,12 @@
+{% extends "telemeta/base.html" %}
+{% load i18n %}
+
+{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a></div>{% endblock %}
+
+{% block content %}
+
+<p>{% trans "Thanks for spending some quality time with the Web site today." %}</p>
+
+<p><a href="../">{% trans 'Log in again' %}</a></p>
+
+{% endblock %}
diff --git a/trunk/django/templates/telemeta/registration/password_change_done.html b/trunk/django/templates/telemeta/registration/password_change_done.html
new file mode 100644 (file)
index 0000000..63bc219
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/registration/password_change_done.html" %}
\ No newline at end of file
diff --git a/trunk/django/templates/telemeta/registration/password_change_form.html b/trunk/django/templates/telemeta/registration/password_change_form.html
new file mode 100644 (file)
index 0000000..c2f232c
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/registration/password_change_form.html" %}
\ No newline at end of file
diff --git a/trunk/django/templates/telemeta/registration/password_reset_complete.html b/trunk/django/templates/telemeta/registration/password_reset_complete.html
new file mode 100644 (file)
index 0000000..069712c
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/registration/password_reset_complete.html" %}
\ No newline at end of file
diff --git a/trunk/django/templates/telemeta/registration/password_reset_confirm.html b/trunk/django/templates/telemeta/registration/password_reset_confirm.html
new file mode 100644 (file)
index 0000000..cf76fcc
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/registration/password_reset_confirm.html" %}
\ No newline at end of file
diff --git a/trunk/django/templates/telemeta/registration/password_reset_done.html b/trunk/django/templates/telemeta/registration/password_reset_done.html
new file mode 100644 (file)
index 0000000..d32a6dd
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/registration/password_reset_done.html" %}
\ No newline at end of file
diff --git a/trunk/django/templates/telemeta/registration/password_reset_email.html b/trunk/django/templates/telemeta/registration/password_reset_email.html
new file mode 100644 (file)
index 0000000..7c1c273
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/registration/password_reset_email.html" %}
\ No newline at end of file
diff --git a/trunk/django/templates/telemeta/registration/password_reset_form.html b/trunk/django/templates/telemeta/registration/password_reset_form.html
new file mode 100644 (file)
index 0000000..f02a94c
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/registration/password_reset_form.html" %}
\ No newline at end of file
diff --git a/trunk/django/templates/telemeta/search_criteria.html b/trunk/django/templates/telemeta/search_criteria.html
new file mode 100644 (file)
index 0000000..7f1b05a
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/search_criteria.html" %}
diff --git a/trunk/django/templates/telemeta/search_results.html b/trunk/django/templates/telemeta/search_results.html
new file mode 100644 (file)
index 0000000..846d411
--- /dev/null
@@ -0,0 +1 @@
+{% extends "telemeta_default/search_results.html" %}
diff --git a/trunk/django/urls.py b/trunk/django/urls.py
new file mode 100644 (file)
index 0000000..9950059
--- /dev/null
@@ -0,0 +1,30 @@
+# -*- coding: utf-8 -*-
+from django.conf.urls.defaults import *
+
+# Uncomment the next two lines to enable the admin:
+from django.contrib import admin
+admin.autodiscover()
+
+js_info_dict = {
+    'packages': ('telemeta',),
+}
+
+urlpatterns = patterns('',
+    # Example:
+    # (r'^sandbox/', include('sandbox.foo.urls')),
+
+    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
+    # to INSTALLED_APPS to enable admin documentation:
+    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
+
+    # Uncomment the next line to enable the admin:
+    (r'^djangoadmin/', include(admin.site.urls)),
+    
+    # Telemeta
+    (r'^', include('telemeta.urls')),
+    
+    # Languages
+    (r'^i18n/', include('django.conf.urls.i18n')),    
+    (r'^jsi18n/$', 'django.views.i18n.javascript_catalog', js_info_dict),
+#    (r'^forum/', include('pybb.urls')),
+)
index 935f3a74bcda35a1607adef32c4494c4074ec388..a3282db54a42ede96c55e8aea26181c5e25644f5 100644 (file)
@@ -9,6 +9,8 @@ Prérequis : la base brut doit d'abord avoir été importée dans MySQL à
 l'aide des outils présents dans le dossier raw_conversion/. Par 
 convention, la base ainsi obtenue sera appelée crem_src.
 
+0. Créer un lien symbolique vers la session Django cible installée
+
 1. Créer une base cible, par exemple crem_target, et y créer les tables
    avec le script crem.sql (dossier docref/)::