Ejemplo n.º 1
0
    url(r'^integration/', include('ralph.integration.urls')),
    url(r'^ui/', include('ralph.ui.urls')),
    url(r'^dns/', include('ralph.dnsedit.urls')),
    url(r'^dhcp-synch/', 'ralph.dnsedit.views.dhcp_synch'),
    url(r'^dhcp-config-entries/', 'ralph.dnsedit.views.dhcp_config_entries'),
    url(r'^dhcp-config-networks/', 'ralph.dnsedit.views.dhcp_config_networks'),
    url(r'^dhcp-config-head/', 'ralph.dnsedit.views.dhcp_config_head'),
    url(r'^cmdb/', include('ralph.cmdb.urls')),
    url(r'^api/add_vm', AddVM.as_view()),
    url(r'^api/', include(v09_api.urls)),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^pxe/_(?P<file_type>[^/]+)$',
        'ralph.deployment.views.preboot_type_view', name='preboot-type-view'),
    url(r'^pxe/(?P<file_name>[^_][^/]+)$',
        'ralph.deployment.views.preboot_raw_view', name='preboot-raw-view'),
    url(r'^pxe/$', 'ralph.deployment.views.preboot_type_view',
        name='preboot-default-view', kwargs={'file_type': 'boot_ipxe'}),
    url(r'^pxe/DONE/$', 'ralph.deployment.views.preboot_complete_view',
        name='preboot-complete-view'),
    url(r'^puppet-classifier/$', 'ralph.deployment.views.puppet_classifier',
        name='puppet-classifier'),
    url(r'^rq/', include('django_rq.urls')),
    url(r'^user/', include('ralph.account.urls')),
    # include the lookup urls
    (r'^admin/lookups/', include(ajax_select_urls)),
    (r'^admin/', include(admin.site.urls)),

)

urlpatterns += pluggableapp.patterns()
Ejemplo n.º 2
0
# -*- coding: utf-8 -*-
import pluggableapp

urlpatterns = pluggableapp.patterns()