############################################################################### # Copyright (c) 2011 Linaro # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################### from django.conf.urls.defaults import * from django.conf import settings from longerusername.forms import AuthenticationForm # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Example: # (r'^android_build/', include('android_build.foo.urls')), (r'^$', 'android_build.frontend.views.index'), (r'^index$', 'android_build.frontend.views.index'), (r'^builds/(~[a-z0-9][a-z0-9\+\.\-]+/[a-zA-Z0-9][-a-zA-Z0-9+.]+)/$', 'android_build.frontend.views.build_details'), (r'^new$', 'android_build.frontend.views.new'), (r'^api/build-now$', 'android_build.frontend.api.build_now'), (r'^api/delete$', 'android_build.frontend.api.delete'), (r'^api/edit$', 'android_build.frontend.api.edit'), (r'^api/is-daily$', 'android_build.frontend.api.is_daily'), (r'^api/new$', 'android_build.frontend.api.new'), (r'^api/set-daily$', 'android_build.frontend.api.set_daily'), (r'^api/proxy-remote-file$', 'android_build.frontend.api.proxy_remote_file'), (r'^api/get-textile-files-request$', 'android_build.frontend.api.get_textile_files_request'), (r'^api/test-dir-exists$', 'android_build.frontend.api.test_remote_dir_exists'), (r'^openid/', include('django_openid_auth.urls')), (r'^login', 'django.contrib.auth.views.login', {'authentication_form': AuthenticationForm}), (r'^logout$', 'django.contrib.auth.views.logout'), # Uncomment the admin/doc line below to enable admin documentation: # (r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: # (r'^admin/', include(admin.site.urls)), # To serve static files with local "runserver" # (r'^static/(?P.*)$', 'django.views.static.serve', # {'document_root': settings.STATIC_DOC_ROOT}), )