|
697
|
1 |
################ |
|
|
2 |
Modèle de donnée |
|
|
3 |
################ |
|
|
4 |
|
|
|
5 |
HDALab utilise le système `d'ORM de Django <https://docs.djangoproject.com/en/1.8/topics/db/models/>`_. |
|
|
6 |
|
|
|
7 |
Le schéma suivant donne une vue synthétique des objets. |
|
|
8 |
|
|
|
9 |
.. image:: _static/img/models/models_all.png |
|
|
10 |
:target: _static/img/models/models_all.png |
|
|
11 |
|
|
|
12 |
Les paragraphes suivant détaillent la liste des objets utilisés par l'application Hdalab avec un lien vers leur documentation. |
|
|
13 |
|
|
|
14 |
Modèles hdalab |
|
|
15 |
============== |
|
|
16 |
|
|
|
17 |
- :class:`hdalab.models.categories.WpCategory` |
|
|
18 |
- :class:`hdalab.models.categories.TagWpCategory` |
|
|
19 |
- :class:`hdalab.models.categories.TagInfobox` |
|
|
20 |
- :class:`hdalab.models.categories.InfoboxParameter` |
|
|
21 |
- :class:`hdalab.models.categories.WpCategoryInclusion` |
|
|
22 |
- :class:`hdalab.models.dataviz.TagYears` |
|
|
23 |
- :class:`hdalab.models.dataviz.TagLinks` |
|
|
24 |
- :class:`hdalab.models.dataviz.Country` |
|
|
25 |
- :class:`hdalab.models.dataviz.GeoInclusion` |
|
|
26 |
- :class:`hdalab.models.dataviz.DbpediaFields` |
|
|
27 |
- :class:`hdalab.models.dataviz.DbpediaFieldsTranslation` |
|
|
28 |
- :class:`hdalab.models.dataviz.HdaSession` |
|
|
29 |
- :class:`hdalab.models.dataviz.InseeCoords` |
|
|
30 |
- :class:`hdalab.models.dataviz.DatasheetExtras` |
|
|
31 |
- :class:`hdalab.models.renkan.HdalabRenkan` |
|
|
32 |
- :class:`hdalab.models.renkan.HdalabRenkanStateTransition` |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
Modèles hdabo |
|
|
36 |
============= |
|
|
37 |
|
|
|
38 |
- :class:`hdabo.models.User` |
|
|
39 |
- :class:`hdabo.models.Organisation` |
|
|
40 |
- :class:`hdabo.models.Author` |
|
|
41 |
- :class:`hdabo.models.TimePeriod` |
|
|
42 |
- :class:`hdabo.models.Domain` |
|
|
43 |
- :class:`hdabo.models.DocumentFormat` |
|
|
44 |
- :class:`hdabo.models.TagCategory` |
|
|
45 |
- :class:`hdabo.models.Tag` |
|
|
46 |
- :class:`hdabo.models.Location` |
|
|
47 |
- :class:`hdabo.models.Datasheet` |
|
|
48 |
- :class:`hdabo.models.TaggedSheet` |
|
|
49 |
- :class:`hdabo.models.Datasheet_domains` |
|
|
50 |
- :class:`hdabo.models.Datasheet_highschool_periods` |
|
|
51 |
- :class:`hdabo.models.Datasheet_highschool_themes` |
|
|
52 |
- :class:`hdabo.models.Datasheet_college_periods` |
|
|
53 |
- :class:`hdabo.models.Datasheet_college_themes` |
|
|
54 |
- :class:`hdabo.models.Datasheet_primary_periods` |
|
|
55 |
- :class:`hdabo.models.Datasheet_primary_themes` |
|
|
56 |
- :class:`hdabo.models.Folder` |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
Modèle renkan |
|
|
60 |
============= |
|
|
61 |
|
|
|
62 |
- :ref:`renkanmanager.models.renkan <renkan-renkanmanager-models-renkan>` |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
Modèles externe |
|
|
66 |
=============== |
|
|
67 |
|
|
|
68 |
- `django.contrib.auth.models.Permission <https://docs.djangoproject.com/en/1.8/ref/contrib/auth/#permission>`_ |
|
|
69 |
- `django.contrib.auth.models.Group <https://docs.djangoproject.com/en/1.8/ref/contrib/auth/#group>`_ |
|
|
70 |
- `django.contrib.contenttypes.models.ContentType <https://docs.djangoproject.com/en/1.8/ref/contrib/contenttypes/#the-contenttype-model>`_ |
|
|
71 |
- `django.contrib.sessions.models.Session <https://docs.djangoproject.com/en/1.8/topics/http/sessions/>`_ |
|
|
72 |
- `django.contrib.sites.models.Site <https://docs.djangoproject.com/en/1.8/ref/contrib/sites/>`_ |
|
|
73 |
- `registration.models.RegistrationProfile <http://django-registration.readthedocs.io/en/2.0.4/>`_ |
|
|
74 |
- `easy_thumbnails.models.Source <https://easy-thumbnails.readthedocs.io/en/stable/>`_ |
|
|
75 |
- `easy_thumbnails.models.Thumbnail <https://easy-thumbnails.readthedocs.io/en/stable/>`_ |
|
|
76 |
- `easy_thumbnails.models.ThumbnailDimensions <https://easy-thumbnails.readthedocs.io/en/stable/>`_ |