~ubuntu-branches/ubuntu/raring/maas/raring-updates

« back to all changes in this revision

Viewing changes to src/maasserver/urls_combo.py

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2012-07-03 17:42:37 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20120703174237-p8l0keuuznfg721k
Tags: 0.1+bzr709+dfsg-0ubuntu1
* New Upstream release
* debian/control:
  - Depends on python-celery, python-tempita, libjs-yui3-{full,min},
    libjs-raphael
* debian/maas.install:
  - Install apiclient, celeryconfig.py, maas-import-pxe-files, preseeds_v2.
  - Update to install various files from chroot, rather tha manually copy
    them from the source.
* debian/maas.links: symlink celeryconfig.py
* debian/maas.maas-celery.upstart: Add job.
* debian/rules:
  - Install celery upstart job.
  - Do not install jslibs as packages are now used.
  - Drop copying of maas_local_settings_sample.py as source now ships
    a maas_local_settings.py
* debian/patches:
  - 04-maas-http-fix.patch: Drop. Merged upstream.
  - 01-fix-database-settings.patch: Refreshed.
  - 99_enums_js.patch: Added until creation of enum.js / build process
    is fixed.
* debian/maas.postinst: Update bzr version to correctly handle upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2012 Canonical Ltd.  This software is licensed under the
 
2
# GNU Affero General Public License version 3 (see the file LICENSE).
 
3
 
 
4
"""URL combo routing configuration."""
 
5
 
 
6
from __future__ import (
 
7
    absolute_import,
 
8
    print_function,
 
9
    unicode_literals,
 
10
    )
 
11
 
 
12
__metaclass__ = type
 
13
__all__ = []
 
14
 
 
15
 
 
16
from django.conf import settings
 
17
from django.conf.urls.defaults import (
 
18
    patterns,
 
19
    url,
 
20
    )
 
21
from maasserver.views.combo import get_combo_view
 
22
 
 
23
 
 
24
urlpatterns = patterns('',
 
25
    url(
 
26
        r'^maas/', get_combo_view(
 
27
            location='', default_redirect=settings.STATIC_URL),
 
28
        name='combo-maas'),
 
29
    url(
 
30
        r'^raphael/',
 
31
        get_combo_view(location=settings.RAPHAELJS_LOCATION),
 
32
        name='combo-raphael'),
 
33
    url(
 
34
        r'^yui/',
 
35
        get_combo_view(location=settings.YUI_LOCATION),
 
36
        name='combo-yui'),
 
37
)