mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-10 00:42:06 +00:00
Add simple API endpoint to activate and deactivate a list
Access is restricted by IP for the list server. Once the migration is done, we should probably remove the endpoint again.
This commit is contained in:
@ -50,6 +50,7 @@ urlpatterns = patterns('',
|
||||
(r'^community/lists/$', RedirectView.as_view(url='/list/', permanent=True)),
|
||||
(r'^community/lists/subscribe/$', 'pgweb.lists.views.subscribe'),
|
||||
(r'^community/lists/listinfo/$', 'pgweb.lists.views.listinfo'),
|
||||
(r'^community/lists/activate/$', 'pgweb.lists.views.activate'),
|
||||
(r'^community/survey/vote/(\d+)/$', 'pgweb.survey.views.vote'),
|
||||
(r'^community/survey[/\.](\d+)(-.*)?/$', 'pgweb.survey.views.results'),
|
||||
(r'^community/user-groups/$', 'pgweb.pugs.views.index'),
|
||||
|
Reference in New Issue
Block a user