Files
@ 2b709f61e022
Branch filter:
Location: website/conservancy/urls.py - annotation
2b709f61e022
2.8 KiB
text/x-python
Make bin/deploy abort if there's an error with `git push`
For example, your push failed because there's upstream changes.
For example, your push failed because there's upstream changes.
1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 1e119efb7ac2 922afef356db 26682bc158d3 2bf594b86cb1 b7e2ce2a4d44 531a97a3c9af dd2774211489 c858e825c0f2 1e119efb7ac2 1e119efb7ac2 b2a006f49ce1 8b805b313ecc 8b805b313ecc 8b805b313ecc 8b805b313ecc 8b805b313ecc 8b805b313ecc 8b805b313ecc 8b805b313ecc 8b805b313ecc 8b805b313ecc 2bf594b86cb1 33833e3a3390 33833e3a3390 33833e3a3390 33833e3a3390 33833e3a3390 33833e3a3390 33833e3a3390 922afef356db 33833e3a3390 fc308958faf8 33833e3a3390 33833e3a3390 8b805b313ecc 922afef356db 8b805b313ecc ebb786673914 6f618e110fb0 ebb786673914 7933ca5f71b6 ce6be591bde2 b2a006f49ce1 | # Copyright 2005-2008, James Garrison
# Copyright 2010, 2012 Bradley M. Kuhn
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute, modify and/or redistribute modified versions of
# this program under the terms of the GNU Affero General Public License
# (AGPL) as published by the Free Software Foundation (FSF), either
# version 3 of the License, or (at your option) any later version of the
# AGPL published by the FSF.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in a file in the toplevel directory called
# "AGPLv3". If not, see <http://www.gnu.org/licenses/>.
from django.urls import include, path, re_path
from django.contrib import admin
from . import feeds, frontpage, sponsors
from .fundgoal import views as fundgoal_views
from . import views as static_views
admin.autodiscover()
urlpatterns = [
path('', frontpage.view),
path('sponsors/', sponsors.view),
path('sponsors/index.html', sponsors.view),
path('admin/', admin.site.urls),
path('feeds/blog/', feeds.BlogFeed()),
path('feeds/news/', feeds.PressReleaseFeed()),
path('feeds/omnibus/', feeds.OmnibusFeed()),
path('feeds/', feeds.view),
path('news/', include('conservancy.news.urls')),
path('blog/', include('conservancy.blog.urls')),
# formerly static templated things... (dirs with templates)
re_path(r'^about/', static_views.index),
re_path(r'^activities/', static_views.index),
re_path(r'^donate/', static_views.index),
re_path(r'^copyleft-compliance/', static_views.index, {'fundraiser_sought': 'vmware-match-0'}),
re_path(r'^learn/', static_views.index),
re_path(r'^press/', static_views.index),
re_path(r'^projects/', static_views.index),
re_path(r'^GiveUpGitHub', static_views.index),
re_path(r'^npoacct/', static_views.index, {'fundraiser_sought': 'npoacct'}),
path('contractpatch/', include('conservancy.contractpatch.urls')),
re_path(r'^overview/', static_views.index),
re_path(r'^privacy-policy/', static_views.index),
path('sustainer/', include('conservancy.supporter.urls')),
re_path(r'^coming-soon.html', static_views.index),
path('fundraiser_data/', fundgoal_views.view),
path('assignment/', include('conservancy.assignment.urls')),
path('fossy/', static_views.index),
path('fossy/', include('conservancy.fossy.urls')),
path('casts/the-corresponding-source/', include('conservancy.podjango.urls')),
path('usethesource/', include('conservancy.usethesource.urls')),
]
|