Use models to store the bootstrap setups

This commit is contained in:
Roberto Rosario
2012-09-22 01:50:17 -04:00
parent aac3bd0bbe
commit fbee8cb64c
4 changed files with 42 additions and 21 deletions

View File

@@ -2,6 +2,6 @@ from django.conf.urls.defaults import patterns, url
urlpatterns = patterns('bootstrap.views',
url(r'^type/list/$', 'bootstrap_type_list', (), 'bootstrap_type_list'),
url(r'^(?P<bootstrap_name>\w+)/execute/$', 'bootstrap_execute', (), 'bootstrap_execute'),
url(r'^(?P<bootstrap_setup_pk>\d+)/execute/$', 'bootstrap_execute', (), 'bootstrap_execute'),
url(r'^nuke/$', 'erase_database_view', (), 'erase_database_view'),
)