PIP_OPTIONS := --extra-index-url=https://pypi.auf.org/
FREEZE_OPTIONS := --exclude-requirements seeds/squeeze.txt
-TARGET := django_auf django_latest django_14 django_13 django_auf_dev # squeeze wheezy
+TARGET := django14_auf django14_base django14_extra django14_dev django13 # squeeze wheezy
all: $(TARGET)
et la maintenance du SDK.
-Installation
-------------
-
+Pré-requis
+----------
-::
+Paquets Debian requis::
sudo apt-get install make python-pip
- sudo pip install peep freeze-requirements yolk
+
+Paquet PIP::
+
+ sudo pip install peep freeze-requirements yolk sphinx_rtd_theme
Usage
-----
seeds -> requirements -> sdk
-Commande::
+Pour lancer la création du sdk manuellement::
make
-Arboresence
------------
-
-Suggestion::
-
- /srv/
- auf-django-sdk/
- sdk/
- django_auf/
- django_14/
- django_auf_dev/
- mywebs_site/
- mywebs/
- externals_apps/
-
-
-manage.py
----------
-
-.. code-block:: python
-
- #!/usr/bin/env python
- import os
- import sys
-
- sys.path.append('./mywebs/')
- sys.path.append('./external_apps/')
+Développement
+-------------
- sys.path.append('../auf-django-sdk/sdk/django_auf/')
- sys.path.append('../auf-django-sdk/sdk/django_14/')
- sys.path.append('../auf-django-sdk/sdk/django_auf_dev/')
+Réccupération du code source::
- sys.path.append('/var/lib/auf-django-sdk/django_auf/')
- sys.path.append('/var/lib/auf-django-sdk/django_14/')
- sys.path.append('/var/lib/auf-django-sdk/django_auf_dev/')
+ git clone git://git.auf.org/auf-django-sdk.git
- if __name__ == "__main__":
- settings_module = "mywebs.settings"
+Pour ajouter un module:
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", settings_module)
- from django.core.management import execute_from_command_line
- execute_from_command_line(sys.argv)
+Pour mettre-à-jour un module:
Voir aussi
--- /dev/null
+CACHES = {
+ 'default': {
+ 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
+ 'LOCATION': '127.0.0.1:11211',
+ }
+}
+
--- /dev/null
+INSTALLED_APPS += (
+ 'auf.django.references',
+)
+
--- /dev/null
+PIWIK_TOKEN = ''
+
+MIDDLEWARE_CLASSES += (
+ 'auf.django.piwik.middleware.TrackMiddleware',
+)
+
--- /dev/null
+INSTALLED_APPS += (
+ 'auf.django.saml',
+)
+
+MIDDLEWARE_CLASSES += (
+ 'auf.django.saml.middleware.SPMiddleware',
+)
+
+AUTHENTICATION_BACKENDS = (
+ 'auf.django.saml.backends.SPBackend',
+)
--- /dev/null
+from auf.django.saml import settings as saml_settings
+
+urlpatterns += patterns(
+ '',
+ (r'^', include('auf.django.saml.urls')),
+)
+
+if not saml_settings.SAML_AUTH:
+ urlpatterns += patterns(
+ '',
+ (r'^', include('auf.django.saml.mellon_urls')),
+ )
--- /dev/null
+AUF_REFERENCES_MANAGED = True
--- /dev/null
+SAML_AUTH = False
--- /dev/null
+INSTALLED_APPS += (
+ 'raven.contrib.django',
+)
+
--- /dev/null
+INSTALLED_APPS += (
+ 'south',
+)
+
--- /dev/null
+INSTALLED_APPS += ('django_behave',)
+TEST_RUNNER = 'django_behave.runner.DjangoBehaveTestSuiteRunner'
+
--- /dev/null
+DEBUG_TOOLBAR_CONFIG = {
+ 'INTERCEPT_REDIRECTS': False,
+}
--- /dev/null
+INSTALLED_APPS += (
+ 'django_jenkins',
+)
+
+PROJECT_APPS = (
+ 'FIXME',
+)
+
+JENKINS_TASKS = (
+ 'django_jenkins.tasks.with_coverage',
+ 'django_jenkins.tasks.run_pep8',
+ 'django_jenkins.tasks.run_pyflakes',
+)
+
+TEST_RUNNER = 'discover_runner.DiscoverRunner'
+
+++ /dev/null
-PIWIK_TOKEN = ''
-
-MIDDLEWARE_CLASSES += (
- 'auf.django.piwik.middleware.TrackMiddleware',
-)
-
+++ /dev/null
-INSTALLED_APPS += (
- 'auf.django.saml',
-)
-
-MIDDLEWARE_CLASSES += (
- 'auf.django.saml.middleware.SPMiddleware',
-)
-
-AUTHENTICATION_BACKENDS = (
- 'auf.django.saml.backends.SPBackend',
-)
+++ /dev/null
-from auf.django.saml import settings as saml_settings
-
-urlpatterns += patterns(
- '',
- (r'^', include('auf.django.saml.urls')),
-)
-
-if not saml_settings.SAML_AUTH:
- urlpatterns += patterns(
- '',
- (r'^', include('auf.django.saml.mellon_urls')),
- )
+++ /dev/null
-CACHES = {
- 'default': {
- 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
- 'LOCATION': '127.0.0.1:11211',
- }
-}
-
+++ /dev/null
-DEBUG_TOOLBAR_CONFIG = {
- 'INTERCEPT_REDIRECTS': False,
-}
-sdk/django_auf usr/lib/auf-django-sdk/
+sdk/django14_auf usr/lib/auf-django-sdk/
--- /dev/null
+usr/lib/auf-django-sdk/
--- /dev/null
+sdk/django14_base usr/lib/auf-django-sdk/
--- /dev/null
+usr/lib/auf-django-sdk/
--- /dev/null
+sdk/django14_dev usr/lib/auf-django-sdk/
--- /dev/null
+usr/lib/auf-django-sdk/
--- /dev/null
+sdk/django14_extra usr/lib/auf-django-sdk/
+++ /dev/null
-usr/lib/auf-django-sdk/
+++ /dev/null
-sdk/django_auf_dev usr/lib/auf-django-sdk/
+++ /dev/null
-usr/lib/auf-django-sdk/
+++ /dev/null
-sdk/django_14 usr/lib/auf-django-sdk/
Package: auf-django-sdk
Architecture: all
-Depends: auf-django14-auf-sdk, auf-django14-sdk
+Depends: auf-django14-base-sdk, auf-django14-extra-sdk, auf-django14-auf-sdk
Description: SDK Django de l'AUF
Package: auf-django14-auf-sdk
python-coverage,
python-markupsafe,
-Package: auf-django14-sdk
+Package: auf-django14-base-sdk
Architecture: all
Description: SDK Django de l'AUF
Depends:
python-coverage,
python-markupsafe,
-Package: auf-django14-sdk-dev
+Package: auf-django14-extra-sdk
Architecture: all
Description: SDK Django de l'AUF
+Depends: auf-django14-base-sdk
+
+Package: auf-django14-dev-sdk
+Architecture: all
+Description: SDK Django de l'AUF
+Depends: auf-django14-base-sdk
--- /dev/null
+# Makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS =
+SPHINXBUILD = sphinx-build
+PAPER =
+BUILDDIR = _build
+
+# User-friendly check for sphinx-build
+ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
+$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
+endif
+
+# Internal variables.
+PAPEROPT_a4 = -D latex_paper_size=a4
+PAPEROPT_letter = -D latex_paper_size=letter
+ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
+# the i18n builder cannot share the environment and doctrees with the others
+I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
+
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
+
+help:
+ @echo "Please use \`make <target>' where <target> is one of"
+ @echo " html to make standalone HTML files"
+ @echo " dirhtml to make HTML files named index.html in directories"
+ @echo " singlehtml to make a single large HTML file"
+ @echo " pickle to make pickle files"
+ @echo " json to make JSON files"
+ @echo " htmlhelp to make HTML files and a HTML help project"
+ @echo " qthelp to make HTML files and a qthelp project"
+ @echo " devhelp to make HTML files and a Devhelp project"
+ @echo " epub to make an epub"
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
+ @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
+ @echo " text to make text files"
+ @echo " man to make manual pages"
+ @echo " texinfo to make Texinfo files"
+ @echo " info to make Texinfo files and run them through makeinfo"
+ @echo " gettext to make PO message catalogs"
+ @echo " changes to make an overview of all changed/added/deprecated items"
+ @echo " xml to make Docutils-native XML files"
+ @echo " pseudoxml to make pseudoxml-XML files for display purposes"
+ @echo " linkcheck to check all external links for integrity"
+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
+
+clean:
+ rm -rf $(BUILDDIR)/*
+
+html:
+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+ @echo
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
+
+dirhtml:
+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
+ @echo
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
+
+singlehtml:
+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
+ @echo
+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
+
+pickle:
+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
+ @echo
+ @echo "Build finished; now you can process the pickle files."
+
+json:
+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
+ @echo
+ @echo "Build finished; now you can process the JSON files."
+
+htmlhelp:
+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
+ @echo
+ @echo "Build finished; now you can run HTML Help Workshop with the" \
+ ".hhp project file in $(BUILDDIR)/htmlhelp."
+
+qthelp:
+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
+ @echo
+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/auf-django-sdk.qhcp"
+ @echo "To view the help file:"
+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/auf-django-sdk.qhc"
+
+devhelp:
+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
+ @echo
+ @echo "Build finished."
+ @echo "To view the help file:"
+ @echo "# mkdir -p $$HOME/.local/share/devhelp/auf-django-sdk"
+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/auf-django-sdk"
+ @echo "# devhelp"
+
+epub:
+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
+ @echo
+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
+
+latex:
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ @echo
+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
+ "(use \`make latexpdf' here to do that automatically)."
+
+latexpdf:
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ @echo "Running LaTeX files through pdflatex..."
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+
+latexpdfja:
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ @echo "Running LaTeX files through platex and dvipdfmx..."
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+
+text:
+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
+ @echo
+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
+
+man:
+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
+ @echo
+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
+
+texinfo:
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
+ @echo
+ @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
+ @echo "Run \`make' in that directory to run these through makeinfo" \
+ "(use \`make info' here to do that automatically)."
+
+info:
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
+ @echo "Running Texinfo files through makeinfo..."
+ make -C $(BUILDDIR)/texinfo info
+ @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
+
+gettext:
+ $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
+ @echo
+ @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
+
+changes:
+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
+ @echo
+ @echo "The overview file is in $(BUILDDIR)/changes."
+
+linkcheck:
+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
+ @echo
+ @echo "Link check complete; look for any errors in the above output " \
+ "or in $(BUILDDIR)/linkcheck/output.txt."
+
+doctest:
+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
+ @echo "Testing of doctests in the sources finished, look at the " \
+ "results in $(BUILDDIR)/doctest/output.txt."
+
+xml:
+ $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
+ @echo
+ @echo "Build finished. The XML files are in $(BUILDDIR)/xml."
+
+pseudoxml:
+ $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
+ @echo
+ @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
--- /dev/null
+# Included so that Django's startproject comment runs against the docs directory
--- /dev/null
+# -*- coding: utf-8 -*-
+import sphinx_rtd_theme
+#
+# auf-django-sdk documentation build configuration file, created by
+# sphinx-quickstart on Tue Nov 25 10:16:54 2014.
+#
+# This file is execfile()d with the current directory set to its
+# containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+import sys
+import os
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+#sys.path.insert(0, os.path.abspath('.'))
+
+# -- General configuration ------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+#needs_sphinx = '1.0'
+
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
+# ones.
+extensions = []
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+#source_encoding = 'utf-8-sig'
+
+# The master toctree document.
+master_doc = 'index'
+
+# General information about the project.
+project = u'auf-django-sdk'
+copyright = u'2015, \xa9 Agence universitaire de la Francophonie'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# The short X.Y version.
+version = '0.1'
+# The full version, including alpha/beta/rc tags.
+release = '0.1'
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+language = "french"
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+#today = ''
+# Else, today_fmt is used as the format for a strftime call.
+#today_fmt = '%B %d, %Y'
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+exclude_patterns = ['_build']
+
+# The reST default role (used for this markup: `text`) to use for all
+# documents.
+#default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+#add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+#add_module_names = True
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+#show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# A list of ignored prefixes for module index sorting.
+#modindex_common_prefix = []
+
+# If true, keep warnings as "system message" paragraphs in the built documents.
+#keep_warnings = False
+
+
+# -- Options for HTML output ----------------------------------------------
+
+html_theme = "sphinx_rtd_theme"
+
+html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
+
+# The name for this set of Sphinx documents. If None, it defaults to
+# "<project> v<release> documentation".
+#html_title = None
+
+# A shorter title for the navigation bar. Default is the same as html_title.
+#html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+#html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+#html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+html_static_path = ['_static']
+
+# Add any extra paths that contain custom files (such as robots.txt or
+# .htaccess) here, relative to this directory. These files are copied
+# directly to the root of the documentation.
+#html_extra_path = []
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+#html_last_updated_fmt = '%b %d, %Y'
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+#html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+#html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+#html_additional_pages = {}
+
+# If false, no module index is generated.
+#html_domain_indices = True
+
+# If false, no index is generated.
+#html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+#html_split_index = False
+
+# If true, links to the reST sources are added to the pages.
+#html_show_sourcelink = True
+
+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
+#html_show_sphinx = True
+
+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
+#html_show_copyright = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a <link> tag referring to it. The value of this option must be the
+# base URL from which the finished HTML is served.
+#html_use_opensearch = ''
+
+# This is the file name suffix for HTML files (e.g. ".xhtml").
+#html_file_suffix = None
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'auf-django-sdkdoc'
+
+
+# -- Options for LaTeX output ---------------------------------------------
+
+latex_elements = {
+# The paper size ('letterpaper' or 'a4paper').
+#'papersize': 'letterpaper',
+
+# The font size ('10pt', '11pt' or '12pt').
+#'pointsize': '10pt',
+
+# Additional stuff for the LaTeX preamble.
+#'preamble': '',
+}
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title,
+# author, documentclass [howto, manual, or own class]).
+latex_documents = [
+ ('index', 'auf-django-sdk.tex', u'auf-django-sdk Documentation',
+ u'Patrick Hetu', 'manual'),
+]
+
+# The name of an image file (relative to this directory) to place at the top of
+# the title page.
+#latex_logo = None
+
+# For "manual" documents, if this is true, then toplevel headings are parts,
+# not chapters.
+#latex_use_parts = False
+
+# If true, show page references after internal links.
+#latex_show_pagerefs = False
+
+# If true, show URL addresses after external links.
+#latex_show_urls = False
+
+# Documents to append as an appendix to all manuals.
+#latex_appendices = []
+
+# If false, no module index is generated.
+#latex_domain_indices = True
+
+
+# -- Options for manual page output ---------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+ ('index', 'auf-django-sdk', u'auf-django-sdk Documentation',
+ [u'Patrick Hetu'], 1)
+]
+
+# If true, show URL addresses after external links.
+#man_show_urls = False
+
+
+# -- Options for Texinfo output -------------------------------------------
+
+# Grouping the document tree into Texinfo files. List of tuples
+# (source start file, target name, title, author,
+# dir menu entry, description, category)
+texinfo_documents = [
+ ('index', 'auf-django-sdk', u'auf-django-sdk Documentation',
+ u'Patrick Hetu', 'auf-django-sdk', 'One line description of project.',
+ 'Miscellaneous'),
+]
+
+# Documents to append as an appendix to all manuals.
+#texinfo_appendices = []
+
+# If false, no module index is generated.
+#texinfo_domain_indices = True
+
+# How to display URL addresses: 'footnote', 'no', or 'inline'.
+#texinfo_show_urls = 'footnote'
+
+# If true, do not generate a @detailmenu in the "Top" node's menu.
+#texinfo_no_detailmenu = False
--- /dev/null
+
+auf-django-sdk
+==============
+
+Kit de développement Django ou désignés par le sigle anglais SDK (Software Development Kit)
+est un ensemble d'outils permettant aux développeurs de créer des applications de type défini
+dans notre cas Django.
+
+Installation
+------------
+
+Debian::
+
+ sudo apt-get install auf-django-sdk
+
+Paquets Debian
+--------------
+
+auf-django-auf-sdk
+
+ Contient les modules Python et Django développé par l'AUF.
+
+auf-django14-base-sdk
+
+ Contient les modules de base pour les sites Django de l'AUF
+
+auf-django14-extra-sdk
+
+ Contient les modules d'extra pour les sites Django de l'AUF
+
+auf-django14-dev-sdk
+
+ Contient les modules d'aide au développement des sites Django de l'AUF
+
+Configuration
+-------------
+
+django14_auf
+
+django14_base
+
+django14_extra
+
+django14_auf_admin
+
+django14_auf_dev
+
+Utilisation
+-----------
+
+Exemple d'arboressance::
+
+ /srv/
+ auf-django-sdk/
+ sdk/
+ django_auf/
+ django_14/
+ django_auf_dev/
+ mywebs_site/
+ mywebs/
+ externals_apps/
+
+
+Exemple de fichier `manage.py`
+
+.. code-block:: python
+
+ #!/usr/bin/env python
+ import os
+ import sys
+
+ sys.path.append('./mywebs/')
+ sys.path.append('./external_apps/')
+
+ sys.path.append('../auf-django-sdk/sdk/django_auf/')
+ sys.path.append('../auf-django-sdk/sdk/django_14/')
+ sys.path.append('../auf-django-sdk/sdk/django_auf_dev/')
+
+ sys.path.append('/var/lib/auf-django-sdk/django_auf/')
+ sys.path.append('/var/lib/auf-django-sdk/django_14/')
+ sys.path.append('/var/lib/auf-django-sdk/django_auf_dev/')
+
+ if __name__ == "__main__":
+ settings_module = "mywebs.settings"
+
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", settings_module)
+ from django.core.management import execute_from_command_line
+ execute_from_command_line(sys.argv)
+
--- /dev/null
+# This file has been automatically generated, DO NOT EDIT!
+
+# Frozen requirements for "seeds/django_13.txt"
+
+django==1.3.7
+django-admin-tools==0.4.1
+django-classy-tags==0.5.1
+django-cms==3.0.6
+django-crispy-forms==1.4.0
+django-debug-toolbar==0.9.4
+django-mptt==0.6.1
+django-sekizai==0.7
+django-sendfile==0.3.6
+django-tinymce==1.5.3
+djangocms-admin-style==0.2.2
+html5lib==0.999
+odfpy==0.9.6
+petl==0.24.3
+raven==5.1.1
+six==1.8.0
+south==0.7.3
+sqlalchemy==0.7.8
+unidecode==0.04.16
+
--- /dev/null
+# This file has been automatically generated, DO NOT EDIT!
+
+# Frozen requirements for "seeds/django_auf.txt"
+
+auf.django.admingroup==0.4
+auf.django.export==0.4
+auf.django.permissions==0.9
+auf.django.piwik==1.9
+auf.django.pong==0.2.4
+auf.django.references==0.27
+auf.django.saml==1.19
+auf.django.skin==2.0
+coda-xmli==0.5
+odfpy==0.9.6
+odsgen==0.6
+
--- /dev/null
+# This file has been automatically generated, DO NOT EDIT!
+
+# Frozen requirements for "seeds/django_auf_dev.txt"
+
+astroid==1.2.1
+beautifulsoup4==4.3.2
+behave==1.2.4
+django-autofixture==0.9.1
+django-behave==0.1.2
+django-debug-toolbar==1.2.2
+django-discover-runner==1.0
+django-jenkins==0.16.3
+django-nose==1.2
+django-webtest==1.7.7
+enum34==1.0.3
+factory-boy==2.4.1
+logilab-common==0.63.0
+mock==1.0.1
+nose==1.3.4
+parse==1.6.5
+parse-type==0.3.4
+pep8==1.5.7
+pyflakes==0.8.1
+pylint==1.3.1
+selenium==2.44.0
+six==1.8.0
+sqlparse==0.1.13
+waitress==0.8.9
+webob==1.4
+webtest==2.0.16
+
--- /dev/null
+# This file has been automatically generated, DO NOT EDIT!
+
+# Frozen requirements for "seeds/django_14.txt"
+
+babel==1.3
+beautifulsoup==3.2.1
+bleach==1.4
+caldav==0.2.1
+chardet==2.3.0
+cssselect==0.9.1
+diff-match-patch==20121119
+django==1.4.16
+django-admin-tools==0.5.2
+django-ajax-selects==1.3.5
+django-appconf==0.6
+django-auditlog==0.2.1
+django-autocomplete-light==1.4.14
+django-autoslug==1.7.2
+django-bootstrap3==4.11.0
+django-cal==0.2.1
+django-chroniker==0.6.7
+django-classy-tags==0.5.1
+django-cms==2.4.3
+django-compressor==1.4
+django-durationfield==0.5.1
+django-extensions==1.4.6
+django-extra-views==0.6.5
+django-filebrowser-no-grappelli==3.5.6
+django-filter==0.8
+django-flash==1.8
+django-floppyforms==1.2.0
+django-form-utils==1.0.2
+django-grappelli==2.6.2
+django-haystack==2.3.1
+django-localeurl==2.0.1
+django-mail-queue==2.2.0
+django-model-utils==2.2
+django-modeltranslation==0.8
+django-mptt==0.6.1
+django-pagination==1.0.7
+django-pagination-bootstrap==1.0.5
+django-picklefield==0.3.1
+django-qbe==0.2.0
+django-ratings==0.3.7
+django-request==1.0.1
+django-reversion==1.8.5
+django-roa==1.7
+django-rosetta==0.7.4
+django-rq==0.7.0
+django-rq-dashboard==0.2.2
+django-sekizai==0.7
+django-selectable==0.9.0
+django-sendfile==0.3.6
+django-simple-captcha==0.4.3
+django-siteblocks==0.3.0
+django-sortable==0.3.1
+django-sorting==0.1
+django-sphinx==2.2.4
+django-suit==0.2.11
+django-taggit==0.12.2
+django-tinymce==1.5.3
+django-urldecorators==0.5
+djangocms-text-ckeditor==2.4.1
+djangorestframework==2.4.4
+djangorestframework-csv==1.3.3
+docutils==0.12
+feedparser==5.1.3
+html5lib==0.999
+jinja2==2.7.3
+lepl==5.1.3
+markdown2==2.3.0
+nose==1.3.4
+ordereddict==1.1
+polib==1.0.4
+pygal==1.5.1
+pygments==1.6
+python-dateutil==2.2
+pytz==2014.9
+raven==5.1.1
+redis==2.10.3
+requests==2.4.3
+rfc6266==0.0.4
+rq==0.4.6
+rq-scheduler==0.5.0
+six==1.8.0
+sorl-thumbnail==11.12
+south==1.0.1
+sphinx==1.2.3
+sqlparse==0.1.13
+tabulate==0.7.3
+twill==1.8.0
+unidecode==0.04.16
+vobject==0.6.6
+whoosh==2.6.0
+wsgiref==0.1.2
+
+++ /dev/null
-# This file has been automatically generated, DO NOT EDIT!
-
-# Frozen requirements for "seeds/django_13.txt"
-
-django==1.3.7
-django-admin-tools==0.4.1
-django-classy-tags==0.5.1
-django-cms==3.0.6
-django-crispy-forms==1.4.0
-django-debug-toolbar==0.9.4
-django-mptt==0.6.1
-django-sekizai==0.7
-django-sendfile==0.3.6
-django-tinymce==1.5.3
-djangocms-admin-style==0.2.2
-html5lib==0.999
-odfpy==0.9.6
-petl==0.24.3
-raven==5.1.1
-six==1.8.0
-south==0.7.3
-sqlalchemy==0.7.8
-unidecode==0.04.16
-
+++ /dev/null
-# This file has been automatically generated, DO NOT EDIT!
-
-# Frozen requirements for "seeds/django_14.txt"
-
-babel==1.3
-beautifulsoup==3.2.1
-bleach==1.4
-caldav==0.2.1
-chardet==2.3.0
-cssselect==0.9.1
-diff-match-patch==20121119
-django==1.4.16
-django-admin-tools==0.5.2
-django-ajax-selects==1.3.5
-django-appconf==0.6
-django-auditlog==0.2.1
-django-autocomplete-light==1.4.14
-django-autoslug==1.7.2
-django-bootstrap3==4.11.0
-django-cal==0.2.1
-django-chroniker==0.6.7
-django-classy-tags==0.5.1
-django-cms==2.4.3
-django-compressor==1.4
-django-durationfield==0.5.1
-django-extensions==1.4.6
-django-extra-views==0.6.5
-django-filebrowser-no-grappelli==3.5.6
-django-filter==0.8
-django-flash==1.8
-django-floppyforms==1.2.0
-django-form-utils==1.0.2
-django-grappelli==2.6.2
-django-haystack==2.3.1
-django-localeurl==2.0.1
-django-mail-queue==2.2.0
-django-model-utils==2.2
-django-modeltranslation==0.8
-django-mptt==0.6.1
-django-pagination==1.0.7
-django-pagination-bootstrap==1.0.5
-django-picklefield==0.3.1
-django-qbe==0.2.0
-django-ratings==0.3.7
-django-request==1.0.1
-django-reversion==1.8.5
-django-roa==1.7
-django-rosetta==0.7.4
-django-rq==0.7.0
-django-rq-dashboard==0.2.2
-django-sekizai==0.7
-django-selectable==0.9.0
-django-sendfile==0.3.6
-django-simple-captcha==0.4.3
-django-siteblocks==0.3.0
-django-sortable==0.3.1
-django-sorting==0.1
-django-sphinx==2.2.4
-django-suit==0.2.11
-django-taggit==0.12.2
-django-tinymce==1.5.3
-django-urldecorators==0.5
-djangocms-text-ckeditor==2.4.1
-djangorestframework==2.4.4
-djangorestframework-csv==1.3.3
-docutils==0.12
-feedparser==5.1.3
-html5lib==0.999
-jinja2==2.7.3
-lepl==5.1.3
-markdown2==2.3.0
-nose==1.3.4
-ordereddict==1.1
-polib==1.0.4
-pygal==1.5.1
-pygments==1.6
-python-dateutil==2.2
-pytz==2014.9
-raven==5.1.1
-redis==2.10.3
-requests==2.4.3
-rfc6266==0.0.4
-rq==0.4.6
-rq-scheduler==0.5.0
-six==1.8.0
-sorl-thumbnail==11.12
-south==1.0.1
-sphinx==1.2.3
-sqlparse==0.1.13
-tabulate==0.7.3
-twill==1.8.0
-unidecode==0.04.16
-vobject==0.6.6
-whoosh==2.6.0
-wsgiref==0.1.2
-
+++ /dev/null
-# This file has been automatically generated, DO NOT EDIT!
-
-# Frozen requirements for "seeds/django_auf.txt"
-
-auf.django.admingroup==0.4
-auf.django.export==0.4
-auf.django.permissions==0.9
-auf.django.piwik==1.9
-auf.django.pong==0.2.4
-auf.django.references==0.27
-auf.django.saml==1.19
-auf.django.skin==2.0
-coda-xmli==0.5
-odfpy==0.9.6
-odsgen==0.6
-
+++ /dev/null
-# This file has been automatically generated, DO NOT EDIT!
-
-# Frozen requirements for "seeds/django_auf_dev.txt"
-
-astroid==1.2.1
-beautifulsoup4==4.3.2
-behave==1.2.4
-django-autofixture==0.9.1
-django-behave==0.1.2
-django-debug-toolbar==1.2.2
-django-discover-runner==1.0
-django-jenkins==0.16.3
-django-nose==1.2
-django-webtest==1.7.7
-enum34==1.0.3
-factory-boy==2.4.1
-logilab-common==0.63.0
-mock==1.0.1
-nose==1.3.4
-parse==1.6.5
-parse-type==0.3.4
-pep8==1.5.7
-pyflakes==0.8.1
-pylint==1.3.1
-selenium==2.44.0
-six==1.8.0
-sqlparse==0.1.13
-waitress==0.8.9
-webob==1.4
-webtest==2.0.16
-
--- /dev/null
+django>=1.3,<1.4
+
+South==0.7.3
+raven
+
+# ag
+django-cms>=2.4,<2.5
+django-crispy-forms
+reportlab
+django-sendfile
+django-tinymce
+
+
+#
+# admin/dev
+#
+
+django-admin-tools
+django-debug-toolbar
+
+# datamaster
+#django-exportateur==1.0.1
+sqlalchemy==0.7.8
+odfpy==0.9.6
+petl==0.24.3
--- /dev/null
+--extra-index-url=https://pypi.auf.org/
+
+auf.django.references
+auf.django.saml
+auf.django.piwik
+auf.django.pong
+auf.django.admingroup
+auf.django.permissions
+#auf.django.auth
+#auf.django.emploi
+auf.django.export
+#auf.django.metadata
+auf.django.skin
+#auf.django.workflow
+
+coda-xmli
+odsgen
+django_exportateur
--- /dev/null
+django>=1.4,<1.5
+
+South
+raven
+
+#
+# Bootstrap
+#
+
+django-pagination-bootstrap
+django-bootstrap3
+
+
+#
+# UI
+#
+django-floppyforms
+django-pagination
+django-flash # savoirenpartage
+django-siteblocks==0.2.1
+django-autocomplete-light # csf
+django-ajax-selects # rh_dae
+django-selectable # savoirenpartage
+
+#
+# Admin
+#
+
+django-suit
+django-admin-tools
+# django-xadmin
+django-chroniker # informatique
+
+
+
+#
+# Python
+#
+
+feedparser
+pytz
+
+#
+# Helper
+#
+
+django-extensions
--- /dev/null
+django-debug-toolbar
+django-webtest
+django-autofixture
+django-behave
+django-jenkins
+django-discover-runner
+
+django-nose
+factory-boy
+
+#
+# Python
+#
+
+pep8
+pyflakes
+coverage
+pylint
+mock
+#pygraphviz
--- /dev/null
+#
+# I18N
+#
+
+django-modeltranslation
+django-rosetta
+django-localeurl
+
+
+#
+# REST
+#
+
+djangorestframework-csv
+djangorestframework
+
+
+#
+# Bootstrap
+#
+
+django-pagination-bootstrap
+django-bootstrap3
+
+
+#
+# UI
+#
+django-floppyforms
+django-pagination
+django-flash # savoirenpartage
+django-siteblocks==0.2.1
+django-autocomplete-light # csf
+django-ajax-selects # rh_dae
+django-selectable # savoirenpartage
+
+# FIXME
+# django-select2
+
+
+#
+# Permissions
+#
+django-roa # savoirenpartage
+
+
+#
+# CMS
+#
+
+django-cms>=2.4,<2.5
+# django-sekizai
+djangocms-text-ckeditor
+#cmsplugin-youtube
+# djangocms-admin-style
+django-tinymce
+
+
+#
+# Admin
+#
+
+django-suit
+django-admin-tools
+# django-xadmin
+
+django-auditlog # informatique
+django-filebrowser-no-grappelli # informatique
+django-grappelli # psp
+
+
+#
+# Stat
+#
+django-request==1.0.1
+django-ratings
+
+
+#
+# Queue / scheduler
+#
+
+##### gestionmateriel
+rq
+rq-scheduler
+django-rq
+django-rq-dashboard
+redis
+
+django-chroniker # informatique
+
+
+#
+# Search
+#
+whoosh
+django-sphinx # savoirenpartage
+django-haystack
+
+
+#
+# Thumbnail
+#
+sorl-thumbnail
+
+
+
+#
+# Python
+#
+
+Babel # savoirenpartage
+BeautifulSoup
+Unidecode # sigma
+bleach # psp
+caldav # savoirenpartage
+chardet # savoirenpartage
+cssselect
+diff_match_patch # expert
+feedparser
+html5lib
+markdown2
+ordereddict
+pygal # informatique
+pygments
+pytz
+requests
+rfc6266 # refletweb
+sqlparse
+tabulate
+twill # informatique
+vobject
+wsgiref
+
+
+#
+# Helper
+#
+
+django-extensions
+django-extra-views
+django-taggit
+django-filter
+django-durationfield
+django-autoslug
+django-compressor
+django-cal # psp
+django-sendfile
+django-sortable
+django-model-utils
+django-mail-queue
+django-qbe
+django-urldecorators # rh_dae
+django-simple-captcha
+django-reversion
+django-form-utils
+django_sorting
+django-mptt
+++ /dev/null
-django>=1.3,<1.4
-
-South==0.7.3
-raven
-
-# ag
-django-cms>=2.4,<2.5
-django-crispy-forms
-reportlab
-django-sendfile
-django-tinymce
-
-
-#
-# admin/dev
-#
-
-django-admin-tools
-django-debug-toolbar
-
-# datamaster
-#django-exportateur==1.0.1
-sqlalchemy==0.7.8
-odfpy==0.9.6
-petl==0.24.3
+++ /dev/null
-django>=1.4,<1.5
-
-South
-raven
-
-#
-# I18N
-#
-
-django-modeltranslation
-django-rosetta
-django-localeurl
-
-
-#
-# REST
-#
-
-djangorestframework-csv
-djangorestframework
-
-
-#
-# Bootstrap
-#
-
-django-pagination-bootstrap
-django-bootstrap3
-
-
-#
-# UI
-#
-django-floppyforms
-django-pagination
-django-flash # savoirenpartage
-django-siteblocks==0.2.1
-django-autocomplete-light # csf
-django-ajax-selects # rh_dae
-django-selectable # savoirenpartage
-
-# FIXME
-# django-select2
-
-
-#
-# Permissions
-#
-django-roa # savoirenpartage
-
-
-#
-# CMS
-#
-
-django-cms>=2.4,<2.5
-# django-sekizai
-djangocms-text-ckeditor
-#cmsplugin-youtube
-# djangocms-admin-style
-django-tinymce
-
-
-#
-# Admin
-#
-
-django-suit
-django-admin-tools
-# django-xadmin
-
-django-auditlog # informatique
-django-filebrowser-no-grappelli # informatique
-django-grappelli # psp
-
-
-#
-# Stat
-#
-django-request==1.0.1
-django-ratings
-
-
-#
-# Queue / scheduler
-#
-
-##### gestionmateriel
-rq
-rq-scheduler
-django-rq
-django-rq-dashboard
-redis
-
-django-chroniker # informatique
-
-
-#
-# Search
-#
-whoosh
-django-sphinx # savoirenpartage
-django-haystack
-
-
-#
-# Thumbnail
-#
-sorl-thumbnail
-
-
-
-#
-# Python
-#
-
-Babel # savoirenpartage
-BeautifulSoup
-Unidecode # sigma
-bleach # psp
-caldav # savoirenpartage
-chardet # savoirenpartage
-cssselect
-diff_match_patch # expert
-feedparser
-html5lib
-markdown2
-ordereddict
-pygal # informatique
-pygments
-pytz
-requests
-rfc6266 # refletweb
-sqlparse
-tabulate
-twill # informatique
-vobject
-wsgiref
-
-
-#
-# Helper
-#
-
-django-extensions
-django-extra-views
-django-taggit
-django-filter
-django-durationfield
-django-autoslug
-django-compressor
-django-cal # psp
-django-sendfile
-django-sortable
-django-model-utils
-django-mail-queue
-django-qbe
-django-urldecorators # rh_dae
-django-simple-captcha
-django-reversion
-django-form-utils
-django_sorting
-django-mptt
+++ /dev/null
---extra-index-url=https://pypi.auf.org/
-
-auf.django.references
-auf.django.saml
-auf.django.piwik
-auf.django.pong
-auf.django.admingroup
-auf.django.permissions
-#auf.django.auth
-#auf.django.emploi
-auf.django.export
-#auf.django.metadata
-auf.django.skin
-#auf.django.workflow
-
-coda-xmli
-odsgen
-django_exportateur
+++ /dev/null
-django-debug-toolbar
-webtest
-mock
-django-webtest
-django-autofixture
-#pygraphviz
-django-behave
-django-jenkins
-django-discover-runner
-pep8
-pyflakes
-coverage
-pylint
-
-django-nose
-factory-boy
+++ /dev/null
-django
-
-